curl --request POST \
--url https://api.sandbox.saalal.com/v1/cards/link \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"identifier": 8840822604,
"card_user_reference": "577f7a27-0749-4c7c-89a3-bcedca3452e9"
}'
{
"message": "Card currently being generated",
"statusCode": 200,
"data": {
"card": {
"identifier": 8840822604,
"reference": "d282e4a6-1fb6-4827-a6ae-a780263287d7",
"card_number": null,
"card_brand": "Visa",
"card_type": "virtual",
"cvv2": null,
"expiry": null,
"balance": 0,
"status": "issued"
}
}
}
curl --request POST \
--url https://api.sandbox.saalal.com/v1/cards/link \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"identifier": 8840822604,
"card_user_reference": "577f7a27-0749-4c7c-89a3-bcedca3452e9"
}'
{
"message": "Card currently being generated",
"statusCode": 200,
"data": {
"card": {
"identifier": 8840822604,
"reference": "d282e4a6-1fb6-4827-a6ae-a780263287d7",
"card_number": null,
"card_brand": "Visa",
"card_type": "virtual",
"cvv2": null,
"expiry": null,
"balance": 0,
"status": "issued"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.