Get Payment Instruments
Use this endpoint to retrieve a list of payment instruments stored for a particular shopper.
The response includes a list of all pament instruments for convenience (not linked to a recurring/MIT payment agreement) for the particular shopper.
Endpoint
GET /v1/payment-instruments/{merchantShopperId}{merchantShopperId}— the unique identifier of the shopper you want the list of payment instruments for.
Example Request
GET /v1/payment-instruments/{merchantShopperId}Example Response
{
"responseInfo": {
"responseCode": 0,
"responseText": "Success"
},
"paymentInstruments": [
{
"paymentInstrumentReference": "{{paymentInstrumentReference}}",
"scheme": "MASTERCARD_CREDIT",
"maskedPan": "548016******7897",
"expiryDate": "2029-12",
"cardOnFileReason": "UNSCHEDULED"
}
]
}Field Reference
Path Parameter
| Field | Type | Required | Description |
|---|---|---|---|
merchantShopperId | string | Yes | The unique identifier you used when identifying the shopper. |
Response
responseInfo
| Field | Type | Required | Description |
|---|---|---|---|
responseCode | integer | Yes | A code indicating the request result. |
responseText | string | Yes | A human-readable description of the result. |
paymentInstruments
Array containing all payment instruments identifed by merchantShopperId, if any.
| Field | Type | Required | Description |
|---|---|---|---|
paymentInstrumentReference | string | Yes | The unique identifier of the payment instrument. |
scheme | string | Yes | The scheme of the payment instrument |
maskedPan | string | No | The PAN of the payment instrument, relevant primarily for cards. |
expiryDate | string | No | The expiry date of the payment instrument, relevant primarily for cards. |
cardOnFileReason | string | No | The reason for storing a payment instrument, enums CONVENIENCE (to reuse card later without having to retype card data), UNSCHEDULED (stored for unscheduled MIT payments) or SCHEDULED (sored for scheduled MIT payments)Note that if a card has been stored for different reasons, or for multiple recurring/MIT agreements, each card will have have multiple paymentInstrumentReference each to be managed individually, e.g. if deleting a card stored for convenience or a recurring/MIT agreement |
recurringReference | string | No | The reference for a recurring/MIT agreement, relevant only if the card was stored for recurring/MIT payment (SCHEDULED or UNSCHEDULED). |
recurringDescription | string | No | The description sent in the Create MIT request, relevant only if the card was stored for recurring/MIT payment. |
Operation Types
The type field may include:
CREATE_SESSIONAUTHENTICATIONAUTHORIZATIONCAPTURECANCELREFUNDUPDATE
Important Notes
- The status endpoint returns the complete lifecycle of the payment.
- The response lists operations in chronological order.
- Some operations (such as refunds) can appear multiple times.
- The
detailsobject varies depending on the operation type. For example, theAUTHENTICATIONoperation includes anecifield (Electronic Commerce Indicator, a value indicating the authentication level). - You can call this endpoint multiple times — it does not modify payment state.
Updated 13 days ago
What’s Next
Did this page help you?