Batch Registration of Payment Cards (to be deprecated)
POST {{baseUrl}}/payment-card-enrolments
Allows a registered Service Provider to add a list of new Payment Cards (at most maximum of 100 payment cards) to its profile. This endpoint uses Mastercard payload encryption. Refer to the Payload Encryption section 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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
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"}]