List Account Holder Payment Methods
Returns a paginated list of tokenized payment methods (cards) associated with a specific account holder.
You can specify either an internal account holder ID (assigned by our system) or an external account holder ID (assigned by your system).
The endpoint supports filtering and sorting to help you organize and retrieve payment methods efficiently.
Path parameters
-
The account holder ID to retrieve payment methods for. Can be either:
- Internal ID format:
aho_01JRZPRGFF4J2SZC3HMDBYEN2J
(assigned by our system) - External ID format:
usr_1757945457790
(assigned by your system)
- Internal ID format:
Query parameters
-
Comma-separated list of fields to sort by. Prefix with
-
for descending order. Available fields: id, type, currency, cardType, maskedCardNumber, cardExpDate, dateCreated -
Page number to retrieve (starts at 1). For example, if you have 100 records with 10 per page, page 2 gives you records 11 to 20.
Minimum value is
1
. Default value is1
. -
Number of records per page. For example, if you have 100 records with 10 per page, page 2 gives you records 11 to 20.
Minimum value is
1
, maximum value is100
. Default value is10
.
curl \
--request GET 'https://api.omni.integratedcommerce.io/v1/payment-methods/account-holder/aho_01JRZPRGFF4J2SZC3HMDBYEN2J' \
--header "x-api-key: $API_KEY"
{
"page": 1,
"items": [
{
"id": "pmt_tkn_01JRZPMK5YQ1N8S7CXFVG2H9TB",
"type": "Token",
"cardType": "MASTERCARD",
"currency": "USD",
"cardExpDate": "0927",
"billingContact": {
"city": "New York",
"name": "Jane Smith",
"state": "NY",
"address": "123 Broadway Ave",
"zipCode": "10001",
"countryCode": "US"
},
"maskedCardNumber": "5****1234"
},
{
"id": "pmt_tkn_01JRZPN8K2R7M4J9BWEX3A6QFC",
"type": "Token",
"cardType": "VISA",
"currency": "USD",
"cardExpDate": "1226",
"billingContact": {
"city": "New York",
"name": "Jane Smith",
"state": "NY",
"address": "123 Broadway Ave",
"zipCode": "10001",
"countryCode": "US"
},
"maskedCardNumber": "4****9876"
},
{
"id": "pmt_tkn_01JRZPPV9X3K7L2DMQTY8Z5RGH",
"type": "Token",
"cardType": "DISCOVER",
"currency": "USD",
"cardExpDate": "0328",
"billingContact": {
"city": "New York",
"name": "Jane Smith",
"state": "NY",
"address": "123 Broadway Ave",
"zipCode": "10001",
"countryCode": "US"
},
"maskedCardNumber": "6****5555"
}
],
"pageSize": 10,
"totalCount": 3,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false
}
{
"code": 1000,
"status": "Rejected",
"message": "API key cannot be empty",
"traceId": "1-6838be96-74c62f8e2804352739e63476",
"timestamp": "2025-05-29T20:07:50.4723483Z",
"errorDetails": []
}
{
"code": 4000,
"status": "Rejected",
"message": "Resource not found",
"traceId": "1-68c8732b-3bbe2a8223345463532cef92",
"timestamp": "2025-09-15T20:12:27.8469482Z",
"errorDetails": []
}
{
"code": 4000,
"status": "Rejected",
"message": "Account holder with external ID usr_1234567890123 not found",
"traceId": "1-68c87350-11897437327b7fdb7611df33",
"timestamp": "2025-09-15T20:13:04.9126994Z",
"errorDetails": []
}