Skip to main content

Get Payment Options with Reference

To retrieve a specific payment option, the following endpoint can be used:

{Base URL}/accounts/{customerAccountId}/paymentOptions/{reference}

This endpoint returns the details of a single payment option identified by the reference parameter in the URL. This method is intended for scenarios where detailed information about a specific payment option is required, without the need to fetch the entire list of options associated with the customer account.

Request

Path:

{Base URL}/accounts/{customerAccountId}/paymentOptions/8ac7a4a08c13ee65018c151c330a26c6

Header:

Content-Type: application/json
Accept-Language: en-US

Response

Status Code:

200 (OK)

Header:

Content-Type: application/json
Accept-Language: en-US
 {
"result": [
{
"name": "Mastercard",
"code": "MSTRCRD",
"carrierNumber": "520000****0106",
"reference": "8ac7a4a08c13ee65018c151c330a26c6",
"isDefault": true,
"isExpired": false,
"expiresSoon": false,
"expiryDate": "03/2025"
}
]
}