Retrieve a card
Returns a single card by its identifier. The bank, the card type and the four terminal fields are returned as identifiers rather than nested objects.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the card.
The requested card.
A card returned by the API — the record that describes a payment card the store accepts and states which POS terminal each kind of payment made with it is sent through. The bank, the card type and the four terminal fields are returned as identifiers rather than nested objects.
Unique identifier of the card.
Display name of the card.
Example CardThe code that identifies the card within its bank. Unique among the cards of the same bank, but the same code may be used by cards of other banks.
example-cardIdentifier of the bank the card belongs to.
3Identifier of the card type — the scheme or programme of the card.
1Whether a card is a credit or a debit card.
credit— a credit card. A card stored without a payment type is treated as one.debit— a debit card. WhileTHREE_D_REDIRECT_DEBITis on, which is the default, every payment matched to a card marked this way is redirected to 3D secure verification.
creditPossible values: Identifier of the POS terminal a single, non-installment payment is sent through.
5Identifier of the POS terminal an installment payment is sent through.
5Identifier of the POS terminal used when a single payment is redirected to 3D secure verification, or null when the card has none. Never used while THREE_D_SECURE_ENABLED is off.
6Identifier of the POS terminal used when an installment payment is redirected to 3D secure verification, or null when the card has none.
6Whether the card is the store's own commerce card. Read by the commerce-card installment filters, and without effect while none of them is configured through INSTALLMENT_FILTERS.
falseAuthentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested card does not exist.
GET /api/v1/remote/1/cards/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"name": "Example Card",
"slug": "example-card",
"bank": 3,
"card_type": 1,
"card_payment_type": "credit",
"cash_payment": 5,
"installment_payment": 5,
"three_d_payment": 6,
"installment_three_d_payment": 6,
"is_commerce_card": false
}Last updated
Was this helpful?

