We supercharged our card issuing infrastructure to give you a better all round experience.
Card issuing is no longer instant but asynchronous. This means when you make a request to create a card you don’t get it instantly but after a short time - you’ll get notified via a webhook when it’s ready (typically less than a minute)
Creating a card looks like
curl --request POST \\
--url <https://sandbox.api.maplerad.com/v1/issuing> \\
--header 'Authorization: Bearer <secret key>' \\
--header 'accept: application/json' \\
--header 'content-type: application/json' \\
--data '
{
"customer_id": "ac2bea42-058f-44d9-905d-48a92360129e",
"type": "VIRTUAL",
"auto_approve": true,
"brand": "VISA",
}
You get a response like:
{
"status": true,
"message": "Card creation in progress",
"data": {
"reference": "fe796aef-5dca-47d5-a542-16d403b464d1"
}
}
You get a reference which can be used to track the current status of the card creation process.
When the card has been created successfully you’ll get notified via a webhook with a response like
{
"event": "issuing.created.successful",
"reference": "xxxx", // tracking reference we returned on create endpoint
"card": {
"id": "3f0b15e8-af5f-455f-986e-a538ef44ca48",
"name": "JOHN DOE",
"masked_pan": "536898******1914",
"type": "VIRTUAL",
"issuer": "VISA",
"currency": "USD",
"status": "ACTIVE", // ACTIVE || DISABLED. Active by default
"balance": 0,
"auto_approve": true
}
}
If it failed to be created
{
"event": "issuing.created.failed",
"reference": "xxxx" // tracking reference we returned on create card endpoint
}
Our issuing transaction webhook event payload has been upgraded to include the merchant details. You can now display something like “You just spent ${payload.amount} on {payload.merchant.name} in {payload.merchant.city}” on your platform for customers.
These are the various Transaction Types