The Initialize Transaction endpoint creates a new payment session on Fiato. It returns a transaction reference, crypto wallet address, and a secure checkout URL for your customer to complete payment.
HEADER
Every request to the API must include your API key in the header using the x-api-key field
{
"coin": "usdt",
"network": "bep20",
"amount": 10000,
"currency": "NGN",
"payer_name": "Samuel Sylvester",
"payer_email": "[email protected]",
"redirect_url": "https://vidafaconcept.com"
}| KEY | Value | Description |
|---|---|---|
| coin | usdt | Crypto-currency you intend to pay with. |
| network | usdt : bep20, trc20, erc20 | Network of the coin you attempting to pay with |
| amount | 2000 - 25000000 | Amount in the local currency |
| currency | NGN | Local currency ISO |
| payer_name | e.g Samuel Sylvester | Name of the customer |
| payer_email | e.g [email protected] | Email of the customer |
| redirect_url | e.g https://vidafaconcept.com | Url where user will be redirected to after a successful or cancelled payment. |
{
"status": "success",
"reference": "A-7SW96E0U4QA5",
"coin": "usdt",
"payout_amount": 10000,
"payout_currency": "NGN",
"expected_coin_value": 6.98,
"payer_name": "Samuel Sylvester",
"payment_wallet": "0xd9d3F0e18cf1034e0533CF1D28cC4DcE469950E6",
"time_initiated": 1762774165,
"redirect_url": "https://vidafaconcept.com",
"checkout_url": "https://fiato.io/pay?pid=A-7SW96E0U4QA5"
}