Charge Crypto
Processing transaction from the crypto.
You have to redirect to the link which is returned in respomse data. In addition, you need to store the value of field reference and orderid for using api Verify Transaction.
Create Transaction
POST
https://safepayltd.net/api/charge
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer YOUR_SECRET_KEY
Body
Name
Type
Description
amount*
number
amount of transaction
token*
string
USDT
network*
string
BITCOIN_MAINNET ETHEREUM_MAINNET
POLYGON_MAINNET
TRON_MAINNET
reference *
string
transaction reference
callback_url *
string
callback url (GET)
webhook_url
string
webhook url (POST)
Response
Last updated