This API is for banks integrating with Token
Token Bank Integration API (1.0.6)
Download OpenAPI description
Overview
E-mailLicense
Languages
Servers
https://docs.token.io
Bodyapplication/jsonrequired
The transfer request.
Represents a monetary value.
Represents Token account identifier.
Example: {"account":{"custom":{"bankId":"test","payload":"0123456789"}}}
The bank account identifier.
Example: {"custom":{"bankId":"test","payload":"0123456789"}}
- https://docs.token.io/transfers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.token.io/transfers \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-H 'token-account-holder-id: string' \
-H 'token-consent-id: string' \
-H 'token-tpp-id: string' \
-d '{
"transferId": "string",
"transactionAmount": {
"currency": "str",
"value": "string"
},
"source": {
"account": {
"custom": {
"bankId": "test",
"payload": "0123456789"
}
}
},
"destinations": [
{
"destinations": [
{
"scheme": {
"iban": "string",
"bic": "string"
}
}
],
"customerData": {
"legalNames": [
"string"
],
"address": {
"houseNumber": "string",
"houseName": "string",
"flats": "string",
"conscriptionNumber": "string",
"street": "string",
"place": "string",
"postCode": "string",
"city": "string",
"country": "st",
"full": "string",
"hamlet": "string",
"suburb": "string",
"subdistrict": "string",
"district": "string",
"province": "string",
"state": "st"
}
}
}
],
"description": "string",
"tokenRefId": "string",
"tokenInitiatorId": "string",
"transferRefId": "string",
"metadata": {
"purposeOfPayment": "OTHER",
"paymentContext": "OTHER_CONTEXT",
"merchantCategoryCode": "string",
"merchantCustomerId": null,
"deliveryAddress": {
"houseNumber": "string",
"houseName": "string",
"flats": "string",
"conscriptionNumber": "string",
"street": "string",
"place": "string",
"postCode": "string",
"city": "string",
"country": "st",
"full": "string",
"hamlet": "string",
"suburb": "string",
"subdistrict": "string",
"district": "string",
"province": "string",
"state": "st"
}
}
}'Response
application/json
{ "transactionId": "string", "status": "PROCESSING", "statusDescription": "string", "source": { "account": { … }, "customerData": { … } } }
- https://docs.token.io/transfers/{transferId}/status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.token.io/transfers/{transferId}/status' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'token-consent-id: string'Response
application/json
"PROCESSING"