Get Payment Method Token Details
GET
https://sand-api.monoova.com/au/card/ccm/PaymentMethodToken
Query Parameters
- customerIdstringExampleDescriptionDefaultCUST-10045Pattern^[a-zA-Z0-9_-]{1,40}$
- clientPaymentTokenUniqueReferencestringExampleDescriptionDefaultTOKEN-0001Pattern^[a-zA-Z0-9_-]{1,40}$
- createdStartDatestring<date-time>ExampleDescriptionDefault2026-10-01T00:00:00ZFormatdate-timePattern^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}(:[0-9]{2}(\.[0-9]{1,7})?)?(Z|[+-][0-9]{2}:[0-9]{2})?)?$
- createdEndDatestring<date-time>ExampleDescriptionDefault2026-10-13T23:59:59ZFormatdate-timePattern^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}(:[0-9]{2}(\.[0-9]{1,7})?)?(Z|[+-][0-9]{2}:[0-9]{2})?)?$
- pageNumberinteger<int32>ExampleDescriptionDefault1Formatint32Minimum1Pattern^[1-9][0-9]*$
- pageSizeinteger<int32>ExampleDescriptionDefault50Formatint32Minimum1Maximum500Pattern^[1-9][0-9]{0,2}$
Responses
200
- GetPaymentMethodTokenByFilterResponseExample
{ "traceId": "114e7b09-8fd4-52a9-b643-80408dac67d7", "paymentMethodTokenDetails": [ { "clientPaymentTokenUniqueReference": "TOKEN-0001", "customer": { "customerId": "CUST-10045", "firstName": "Jane", "lastName": "Citizen", "billingAddress": { "firstName": "Jane", "lastName": "Citizen", "street": [ "Level 5", "1 Walker Street" ], "suburb": "North Sydney", "state": "NSW", "postalCode": "2060", "countryCode": "AU" }, "emailAddress": "[email protected]" }, "creationDateTime": "2026-10-13T04:32:48Z", "lastTransactionDate": "2026-10-13T04:32:48Z", "expirationMonth": "12", "expirationYear": "2031", "status": "Active", "last4Digits": "1111", "first6Digits": "411111", "cardholderName": "Jane Citizen", "cardType": "VISA", "issuerCountryCode": "AU", "issuerName": "ANZ", "paymentMethodTokenHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08", "allowCredit": "true" } ] }- traceIdstringExampleDescriptionDefault71170aca-7ed5-5045-b317-39f21a1d985ePattern^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
- paymentMethodTokenDetailsPaymentMethodTokenSummaryDto[]Description
- clientPaymentTokenUniqueReferencestringExampleDescriptionDefaultTOKEN-0001Pattern^[a-zA-Z0-9_-]{1,40}$
- customerPaymentMethodTokenCustomerDtoDescription
- customerIdstringExampleDescriptionDefaultCUST-10045Pattern^[a-zA-Z0-9_-]{1,40}$
- firstNamestringExampleDescriptionDefaultJaneMax Length60Pattern^[^#<>$%^_=[\]\\{}|;~`]+$
- lastNamestringExampleDescriptionDefaultCitizenMax Length60Pattern^[^#<>$%^_=[\]\\{}|;~`]+$
- billingAddressPaymentMethodTokenAddressDtoDescription
- firstNamestringExampleDescriptionDefaultJaneMin Length1Max Length60Pattern^[^#<>$%^_=[\]\\{}|;~`]+$
- lastNamestringExampleDescriptionDefaultCitizenMin Length1Max Length60Pattern^[^#<>$%^_=[\]\\{}|;~`]+$
- streetstring[]Example
[ "Level 5", "1 Walker Street" ]
DescriptionDefaultLevel 5,1 Walker Street - suburbstringExampleDescriptionDefaultNorth SydneyMin Length1Max Length14Pattern^[^#<>$%^_=[\]\\{}|;~`]+$
- statestringExampleDescriptionDefaultNSWMin Length1Max Length3Pattern^[^#<>$%^_=[\]\\{}|;~`]+$
- postalCodestringExampleDescriptionDefault2060Min Length1Max Length14Pattern^[^#<>$%^_=[\]\\{}|;~`]+$
- countryCodestringExampleDescriptionDefaultAUPattern^[A-Z]{2}$
- emailAddressstringExampleDescriptionDefaultMax Length40Pattern^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~ -]+[\.a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]*@[a-zA-Z0-9-_]+[.a-zA-Z0-9-_]*\.[a-zA-Z]{2,15}$
- creationDateTimestring<date-time>ExampleDescriptionDefault2026-10-13T04:32:48ZFormatdate-timePattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?(Z|[+-][0-9]{2}:[0-9]{2})?$
- lastTransactionDatestring<date-time>ExampleDescriptionDefault2026-10-13T04:32:48ZFormatdate-timePattern^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]{1,7})?(Z|[+-][0-9]{2}:[0-9]{2})?$
- expirationMonthstringExampleDescriptionDefault12Pattern^(0[1-9]|1[0-2])$
- expirationYearstringExampleDescriptionDefault2031Pattern^[0-9]{4}$
- statusstringExampleDescriptionDefaultActivePattern^(Pending|Active|Paused|CardExpired|Deleted)$
- last4DigitsstringExampleDescriptionDefault1111Pattern^[0-9]{4}$
- first6DigitsstringExampleDescriptionDefault411111Pattern^[0-9]{6}$
- cardholderNamestringExampleDescriptionDefaultJane CitizenPattern^.+$
- cardTypestringExampleDescriptionDefaultVISAPattern^[A-Za-z_ ]+$
- issuerCountryCodestringExampleDescriptionDefaultAUPattern^[A-Z]{2}$
- issuerNamestringExampleDescriptionDefaultANZPattern^.+$
- paymentMethodTokenHashstringExampleDescriptionDefault9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08Pattern^\S+$
- allowCreditstringExampleDescriptionDefaulttruePattern^(true|false)$
400
- ErrorResponseExample
{ "traceId": "f38f0caf-37b2-52b4-98f1-096d94b3299c", "errors": [ { "errorCode": "CCM_PG_SZ_INVALID", "errorMessage": "pageSize must be between 1 and 500" } ] }- traceIdstringExampleDescriptionDefault71170aca-7ed5-5045-b317-39f21a1d985ePattern^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
- errorsErrorDto[]Description
- errorCodestringExampleDescriptionDefaultCCM_VALIDATION_ERRORPattern^CCM_[A-Za-z0-9_]+$
- errorMessagestringExampleDescriptionDefaultError validating request message - amount.currencyAmount requiredPattern^.+$
- sourceErrorCodestringExampleDescriptionDefaultDECLINEDPattern^\S+$
- sourceErrorMessagestringExampleDescriptionDefaultTransaction declined by issuerPattern^.+$
401
403
- ErrorResponseExample
{ "traceId": "3ace70f8-7b4f-56ff-b855-8a737cddfca4", "errors": [ { "errorCode": "CCM_PM_DISABLED_ERROR", "errorMessage": "PaymentMethodTokens disabled for accountId 6279059700012345" } ] }- traceIdstringExampleDescriptionDefault71170aca-7ed5-5045-b317-39f21a1d985ePattern^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
- errorsErrorDto[]Description
- errorCodestringExampleDescriptionDefaultCCM_VALIDATION_ERRORPattern^CCM_[A-Za-z0-9_]+$
- errorMessagestringExampleDescriptionDefaultError validating request message - amount.currencyAmount requiredPattern^.+$
- sourceErrorCodestringExampleDescriptionDefaultDECLINEDPattern^\S+$
- sourceErrorMessagestringExampleDescriptionDefaultTransaction declined by issuerPattern^.+$
404
- ErrorResponseExample
{ "traceId": "fb42c6e1-ce64-5519-a98b-5a4ca6ee8604", "errors": [ { "errorCode": "CCM_ACC_NOT_FOUND_ERROR", "errorMessage": "account not found for accountId 6279059700012345" } ] }- traceIdstringExampleDescriptionDefault71170aca-7ed5-5045-b317-39f21a1d985ePattern^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
- errorsErrorDto[]Description
- errorCodestringExampleDescriptionDefaultCCM_VALIDATION_ERRORPattern^CCM_[A-Za-z0-9_]+$
- errorMessagestringExampleDescriptionDefaultError validating request message - amount.currencyAmount requiredPattern^.+$
- sourceErrorCodestringExampleDescriptionDefaultDECLINEDPattern^\S+$
- sourceErrorMessagestringExampleDescriptionDefaultTransaction declined by issuerPattern^.+$
500
- ErrorResponseExample
{ "traceId": "bd191a1e-4e00-541b-8fb6-25db2a4cf106", "errors": [ { "errorCode": "CCM_UNEXPECTED_ERROR", "errorMessage": "Internal server error. Please contact Monoova support." } ] }- traceIdstringExampleDescriptionDefault71170aca-7ed5-5045-b317-39f21a1d985ePattern^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
- errorsErrorDto[]Description
- errorCodestringExampleDescriptionDefaultCCM_VALIDATION_ERRORPattern^CCM_[A-Za-z0-9_]+$
- errorMessagestringExampleDescriptionDefaultError validating request message - amount.currencyAmount requiredPattern^.+$
- sourceErrorCodestringExampleDescriptionDefaultDECLINEDPattern^\S+$
- sourceErrorMessagestringExampleDescriptionDefaultTransaction declined by issuerPattern^.+$
502
504
- ErrorResponseExample
{ "traceId": "6544465b-c92d-5c21-be18-44eafc714e1d", "errors": [ { "errorCode": "CCM_CC_GWM_TIMEOUT", "errorMessage": "Timeout from CC Gateway Manager" } ] }- traceIdstringExampleDescriptionDefault71170aca-7ed5-5045-b317-39f21a1d985ePattern^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
- errorsErrorDto[]Description
- errorCodestringExampleDescriptionDefaultCCM_VALIDATION_ERRORPattern^CCM_[A-Za-z0-9_]+$
- errorMessagestringExampleDescriptionDefaultError validating request message - amount.currencyAmount requiredPattern^.+$
- sourceErrorCodestringExampleDescriptionDefaultDECLINEDPattern^\S+$
- sourceErrorMessagestringExampleDescriptionDefaultTransaction declined by issuerPattern^.+$
curl
curl --request GET \
--url 'https://sand-api.monoova.com/au/card/ccm/PaymentMethodToken?customerId=CUST-10045&clientPaymentTokenUniqueReference=TOKEN-0001&createdStartDate=2026-10-01T00%3A00%3A00Z&createdEndDate=2026-10-13T23%3A59%3A59Z&pageNumber=1&pageSize=50' \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://sand-api.monoova.com/au/card/ccm/PaymentMethodToken?customerId=CUST-10045&clientPaymentTokenUniqueReference=TOKEN-0001&createdStartDate=2026-10-01T00:00:00Z&createdEndDate=2026-10-13T23:59:59Z&pageNumber=1&pageSize=50", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://sand-api.monoova.com/au/card/ccm/PaymentMethodToken?customerId=CUST-10045&clientPaymentTokenUniqueReference=TOKEN-0001&createdStartDate=2026-10-01T00:00:00Z&createdEndDate=2026-10-13T23:59:59Z&pageNumber=1&pageSize=50")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://sand-api.monoova.com/au/card/ccm/PaymentMethodToken?customerId=CUST-10045&clientPaymentTokenUniqueReference=TOKEN-0001&createdStartDate=2026-10-01T00:00:00Z&createdEndDate=2026-10-13T23:59:59Z&pageNumber=1&pageSize=50"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// Success. The payment method tokens that match the query were returned.
{
"traceId": "71170aca-7ed5-5045-b317-39f21a1d985e",
"paymentMethodTokenDetails": [
{
"clientPaymentTokenUniqueReference": "TOKEN-0001",
"customer": {
"customerId": "CUST-10045",
"firstName": "Jane",
"lastName": "Citizen",
"billingAddress": {
"firstName": "Jane",
"lastName": "Citizen",
"street": [
"1 Walker Street"
],
"suburb": "North Sydney",
"state": "NSW",
"postalCode": "2060",
"countryCode": "AU"
},
"emailAddress": "[email protected]"
},
"creationDateTime": "2026-10-13T04:32:48Z",
"lastTransactionDate": "2026-10-13T04:32:48Z",
"expirationMonth": "12",
"expirationYear": "2031",
"status": "Active",
"last4Digits": "1111",
"first6Digits": "411111",
"cardholderName": "Jane Citizen",
"cardType": "VISA",
"issuerCountryCode": "AU",
"issuerName": "ANZ",
"paymentMethodTokenHash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"allowCredit": "true"
}
]
}400
// Bad request. The request failed validation - for example neither customerId nor createdStartDate was provided, or pageSize is outside the allowed range.
{
"traceId": "71170aca-7ed5-5045-b317-39f21a1d985e",
"errors": [
{
"errorCode": "CCM_VALIDATION_ERROR",
"errorMessage": "Error validating request message - amount.currencyAmount required",
"sourceErrorCode": "DECLINED",
"sourceErrorMessage": "Transaction declined by issuer"
}
]
}401
// Unauthorized. The bearer token is missing, malformed or expired. Generate a new bearer token and retry the request.
403
// Forbidden. Your mAccount is not permitted to perform this operation - for example payment method tokens are not enabled for your account.
{
"traceId": "71170aca-7ed5-5045-b317-39f21a1d985e",
"errors": [
{
"errorCode": "CCM_VALIDATION_ERROR",
"errorMessage": "Error validating request message - amount.currencyAmount required",
"sourceErrorCode": "DECLINED",
"sourceErrorMessage": "Transaction declined by issuer"
}
]
}404
// Not found. No card payment account was found for your mAccount - for example card payments have not been set up for it.
{
"traceId": "71170aca-7ed5-5045-b317-39f21a1d985e",
"errors": [
{
"errorCode": "CCM_VALIDATION_ERROR",
"errorMessage": "Error validating request message - amount.currencyAmount required",
"sourceErrorCode": "DECLINED",
"sourceErrorMessage": "Transaction declined by issuer"
}
]
}500
// Internal server error. An unexpected condition prevented Monoova from completing the request. Retry the request and contact Monoova support if the error persists.
{
"traceId": "71170aca-7ed5-5045-b317-39f21a1d985e",
"errors": [
{
"errorCode": "CCM_VALIDATION_ERROR",
"errorMessage": "Error validating request message - amount.currencyAmount required",
"sourceErrorCode": "DECLINED",
"sourceErrorMessage": "Transaction declined by issuer"
}
]
}502
// Bad gateway. A downstream service returned an invalid response. Retry the request and contact Monoova support if the error persists.
504
// Gateway timeout. A downstream service did not respond in time. Retry the request and contact Monoova support if the error persists.
{
"traceId": "71170aca-7ed5-5045-b317-39f21a1d985e",
"errors": [
{
"errorCode": "CCM_VALIDATION_ERROR",
"errorMessage": "Error validating request message - amount.currencyAmount required",
"sourceErrorCode": "DECLINED",
"sourceErrorMessage": "Transaction declined by issuer"
}
]
}