Fetching Payment

This API fetches payment protocol URI.  For desktop browsers - the payment protocol URI is encoded in QR code format shown the checkout interface. Likewise, for mobile browsers and in app payments - the payment protocol URI is encoded in deep-link format.

Sample Query:

https://gatepay.xyz/api/request.php ?account_id=40b45-2f0f6-4fdc4-57e30 &token_id=d5859-0c72a-948b6-2475a &network=BTC &currency_fiat=EUR &amount_fiat=150

Respond:

{

"result": "success",

"payment_protocol_uri": "bitcoin:1EJ19gH17K4upEephwJ4217bPaSop7fxL2?amount=0.031437",

 

"invoice_id": "132859074215"

}

This page is optimized for desktop