3. Create link payment (Support QR code)
Last updated
Last updated
POST
https://api.pos25.app/v1/cf-payment/generate_qr
The API generates link payment. You can generate a QR code from the link and Users can make payments on wallets such as Metamask, TRAM wallet,...
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Let's see how you can call this method either through Curl
or Python
:
Authorization*
String
Bearer <Token>
order_id*
String
Order id of transaction (UNIQUE)
amount*
String
Transaction amount
asset*
String
the asset the user wants to pay (the asset is taken from the API to get a list of supported assets)
chain_id*
String
chain_id is the blockchain the user wants to pay on, obtained from the supporting chain API
currency*
String
the currency the user wants to display instead of the blockchain asset (with added transaction fees)
fee_value*
String
Transaction fee
serial_number*
String
serrial number of POS device