Bulk Registration of Payment Cards

POST {{baseUrl}}/service-providers/payment-cards

Allows a registered service provider to add a list of new payment cards to its profile.This endpoint uses Mastercard payload encryption. Refer to the Payload Encryption page for implementation details.

Request Body

{"0"=>{"fpan"=>"5455029300268351", "cardBaseCurrency"=>"EUR"}, "1"=>{"fpan"=>"5455023979760762", "cardBaseCurrency"=>"USD"}, "2"=>{"fpan"=>"5455023979762834", "cardBaseCurrency"=>"USD"}, "3"=>{"fpan"=>"5455023979762824", "cardBaseCurrency"=>"USD"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

[{"bin":"545502","last4fpan":"8351","status":"ACTIVE","paymentCardId":"9f12f385-0b47-4cca-9e9d-baced21bca63"},{"bin":"545502","last4fpan":"0762","status":"ACTIVE","paymentCardId":"f506521c-38c6-4e87-bf1a-14023ce10d4e"},{"bin":"545502","last4fpan":"2834","status":"PENDING","paymentCardId":"2da9571f-0cf2-458d-bc4b-9218578ce50d"},{"bin":"520402","last4fpan":"2824","errorCode":"INVALID_FPAN"}]