Cards
Stored and saved card management
Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
Saved cards listed
Saved card resource returned by saved-cards endpoints. Fields mirror omnishop.payments.models.SavedCard.
Saved card identifier
User-defined card label
Personal VisaGateway token for the saved card (opaque)
Owner user ID
Masked PAN (e.g., **** **** **** 1234)
**** **** **** 1234POS identifier associated with the card
Creation timestamp
Last update timestamp
Authentication required
GET /users/saved-cards/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
Accept: */*
[
{
"pk": 1,
"name": "Personal Visa",
"token": "text",
"user": 1,
"masked_card_number": "**** **** **** 1234",
"pos": null,
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}
]Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
Saved card retrieved
Saved card resource returned by saved-cards endpoints. Fields mirror omnishop.payments.models.SavedCard.
Saved card identifier
User-defined card label
Personal VisaGateway token for the saved card (opaque)
Owner user ID
Masked PAN (e.g., **** **** **** 1234)
**** **** **** 1234POS identifier associated with the card
Creation timestamp
Last update timestamp
Authentication required
Card not found
GET /users/saved-cards/{pk}/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
Accept: */*
{
"pk": 1,
"name": "Personal Visa",
"token": "text",
"user": 1,
"masked_card_number": "**** **** **** 1234",
"pos": null,
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
CSRF token header for unsafe methods (POST/PUT/PATCH/DELETE)
Saved card deleted
No content
Authentication required
Card not found
DELETE /users/saved-cards/{pk}/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
X-CSRFToken: text
Accept: */*
No content
Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
CSRF token header for unsafe methods (POST/PUT/PATCH/DELETE)
Fields allowed for saved card update
User-defined card label
Saved card updated
Saved card resource returned by saved-cards endpoints. Fields mirror omnishop.payments.models.SavedCard.
Saved card identifier
User-defined card label
Personal VisaGateway token for the saved card (opaque)
Owner user ID
Masked PAN (e.g., **** **** **** 1234)
**** **** **** 1234POS identifier associated with the card
Creation timestamp
Last update timestamp
Authentication required
Card not found
PATCH /users/saved-cards/{pk}/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
X-CSRFToken: text
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"name": null
}{
"pk": 1,
"name": "Personal Visa",
"token": "text",
"user": 1,
"masked_card_number": "**** **** **** 1234",
"pos": null,
"created_date": "2026-01-01T00:00:00.000Z",
"modified_date": "2026-01-01T00:00:00.000Z"
}Returns stored cards for the authenticated user.
Session cookie (e.g., sessionid=abc123)
Session cookie header (e.g. sessionid=abc123)
Stored cards listed
Authentication required
GET /users/stored-cards/ HTTP/1.1
Host: sandbox.akinon.com
Cookie: text
Accept: */*
{
"cards": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]
}Last updated
Was this helpful?

