Skip to main content

Generate Barcode Request

amountnumber<double>

Amount the transaction is issued for.

Example: 10
max_amountnumber<double>

Max total amount that can be paid for a given barcode (cap).

Example: 50
currencystringrequired

ISO 4217 (3 letter ISO currency code).

Possible values: >= 3 characters and <= 3 characters

Example: USD
countrystringrequired

ISO 3166 (2 letter ISO country code).

Possible values: >= 2 characters and <= 2 characters

Example: US
webhook_urlstringrequired

URL to post transaction updates to the business partner.

Example: https://webhook.com/
merchant_client_idstringrequired

Uniquely identifies the customer and is provided by business partner. If any personal data (e.g. customer's user name, email address, etc.) is used here, it has to be encrypted or hashed for security reasons.

Example: 3ncrypt3d3m41l
expire_timeinteger<int64>required

Expiration time of the reusable barcode. Unix timestamp in milliseconds (ms).

Example: 1648375903000
Generate Barcode Request
{
"amount": 10,
"max_amount": 50,
"currency": "USD",
"country": "US",
"webhook_url": "https://webhook.com/",
"merchant_client_id": "3ncrypt3d3m41l",
"expire_time": 1648375903000
}