P
P
POS25
v1.0.1 (mainnet)
Search
K

3. Create link payment (Support QR code)

post
https://api.pos25.app/v1/cf-payment
/generate_qr
Let's see how you can call this method either through Curl or Python:
Curl
curl --location 'https://api.pos25.app/v1/cf-payment/generate_qr' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer 8d1300ea96d3cca64918f871318864c6' \
--data '
{
"order_id": "010001",
"amount": "0.001",
"asset": "USDT",
"chain_id": 22222,
"currency": "USD",
"fee_value": "0",
"serial_number": "00024500706"
}
'