Get All Non Mastercard Brand Cards
GET {{baseUrl}}/donations/non-ma/setup/cards
This API is used by the API consumer to download all their Non-Mastercard registered cards.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-openapi-clientid | string | (Required) ClientId is a unique and a mandatory ID shared while creating a project on Mastercard Developers Portal. | |
x-correlation-id | string | CorrelationId is a unique donation request ID. It is recommended to pass the x-correlation-id by the customer and to use the format "bankname_UUID" (bank name can be indicated using the first 4 digits). Maximum length of this field should be 100 alphanumeric characters. If not passed, Mastercard will generate it. Note: If there is a timeout when doing the guest api call, it is important to redo the same api call with same x-correlation-id to get the status of the previous api call | |
x-program-id | string | ProgramId is an optional field, but if a client has more than one program associated to it, then this field becomes mandatory. | |
Accept | string |
RESPONSES
status: OK
{"totalItems":1,"items":[{"card_id":"908c0a3c-f258-4313-9f5b-83b6cc058692","pan":"371449******8431"},{"card_id":"908c0a3c-f258-4313-9f5b-83b6cc058692","pan":"371449******8431"}]}