API Reference

Initialization

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"
}
KEYValueDescription
coinusdtCrypto-currency you intend to pay with.
networkusdt : bep20, trc20, erc20Network of the coin you attempting to pay with
amount2000 - 25000000Amount in the local currency
currencyNGNLocal currency ISO
payer_namee.g Samuel SylvesterName of the customer
payer_emaile.g [email protected]Email of the customer
redirect_urle.g https://vidafaconcept.comUrl 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"
}