Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
An idempotency key is an arbitrary unique value generated by client to detect subsequent retries of the same request. It is recommended that a UUID or a similar random identifier be used as an idempotency key. A different key must be used for each request, unless it is a retry.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
Body
The barcode to be created.
ID of the account for which the barcode is generated.
"123e4567-e89b-12d3-a456-426614174001"
ID of the customer for whom the barcode is generated.
"123e4567-e89b-12d3-a456-426614174000"
Latitude of the customer location.
-90 <= x <= 9040.73061
Longitude of the customer location.
-180 <= x <= 180-73.935242
Type of the barcode.
CASH_DEPOSIT ID of the external device used for the barcode generation.
64"device123"
Any additional custom metadata related to the barcode. * Can contain up to 10 key-value pairs with up to 200 characters each.
Response
Successful creation of a barcode
ID of the account for which the barcode was generated.
"123e4567-e89b-12d3-a456-426614174001"
The generated barcode number.
"839650172948537162049873516238"
Timestamp of when the barcode was created.
"2023-10-01T12:00:00Z"
ISO 4217 Alpha-3 currency code for the cash transaction.
USD ID of the customer for whom the barcode was generated.
"123e4567-e89b-12d3-a456-426614174000"
Latitude of the customer location.
-90 <= x <= 9040.73061
Longitude of the customer location.
-180 <= x <= 180-73.935242
ID of the generated barcode.
"123e4567-e89b-12d3-a456-426614174002"
Timestamp of the last update to the barcode.
"2023-10-01T12:00:00Z"
Maximum amount for the cash transaction.
1000
Minimum amount for the cash transaction.
10
Status of the barcode.
AVAILABLE, BLOCKED, REDEEMED The id of the tenant containing the resource.
"abcdef_ghijkl"
Timestamp indicating the expiration time of the barcode. Always set to 15 minutes after the creation time.
"2023-10-01T12:00:00Z"
Type of the barcode.
CASH_DEPOSIT ID of the external device used for the barcode generation.
64"device123"
Any additional custom metadata related to the barcode. * Can contain up to 10 key-value pairs with up to 200 characters each.

