RealCard (RCN)
Every virtual card maps to a single real credit card (i.e. a traditional plastic credit card). Your account may have one or more real credit cards associated with it.
Table of Contents
List all Real Cards
Every virtual card maps to a single real credit card. Your account may have one or more real credit cards associated with it.
- If only one card is configured, new virtual cards will map by default to that single card.
- If multiple real cards are configured, it is best to specify the
rcn_id
andrcn_alias
of one of the objects returned via this endpoint when creating a new virtual card.
Note: Currently pagination is not supported on the real cards endpoint.
This endpoint retrieves a list of available real cards.
Endpoint
GET /v1/realcards
Arguments
None.
Example request
curl "https://api.svb.com/v1/realcards" \
-H "Authorization: Bearer YOUR_API_KEY"
Example response
{
"data": [
{
"id": "87282",
"alias": "Account 1"
},
{
"id": "87284",
"alias": "Account 2"
}
]
}
Retrieve a Real Card
Retrieves a real card that has been previously created. Use the unique ID returned from the previous request to identify which real card to retrieve.
Endpoint
GET /v1/realcards/:id
Arguments
- ID : id of the real to retrieve
Example response
{ "data": [ { "alias": "APITESTRCN2", "id": "15400" } ] }