Retrieve a bank
Returns a single bank by its identifier.
get/banks/{id}/
Authorizations
AuthorizationstringRequired
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
Path parameters
idintegerRequired
The unique identifier of the bank.
Responses
200
The requested bank.
application/json
A bank record.
pkintegerRead-onlyOptional
The unique identifier of the bank.
namestring · max: 64Optional
The display name of the bank.
slugstring · max: 64Optional
The unique reference of the bank.
logostring · nullableOptional
The absolute address of the bank's logo, or null when the bank has no logo.
logo_pathstring · nullableOptional
Always null. This field only carries a value on the way in; the address the logo resolves to is reported in logo.
401
Authentication credentials were not provided or are invalid.
application/json
403
The authenticated user does not have administrator privileges.
application/json
404
The requested bank does not exist.
application/json
get/banks/{id}/
GET /api/v1/remote/1/banks/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 12,
"name": "Example Bank",
"slug": "example-bank",
"logo": "https://sandbox.akinon.com/media/banks/example-bank.png",
"logo_path": null
}Last updated
Was this helpful?

