Fiat Wallets
Manage fiat balances, payouts, and funding accounts.
Last updated
Manage fiat balances, payouts, and funding accounts.
Last updated
POST /v1/fiat_balance HTTP/1.1
Host: sandbox.ledig.io
x-ledig-key: YOUR_API_KEY
x-ledig-timestamp: YOUR_API_KEY
x-ledig-signature: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"currency": "NGN"
}{
"currency": "NGN",
"balance": "500000.00"
}POST /v1/fiat_payout HTTP/1.1
Host: sandbox.ledig.io
x-ledig-key: YOUR_API_KEY
x-ledig-timestamp: YOUR_API_KEY
x-ledig-signature: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"currency": "NGN",
"amount": 20000,
"account_alias": "Main NGN Account"
}{
"status": "pending",
"payout_id": "fp123",
"amount": 20000,
"currency": "NGN"
}POST /v1/funding_account HTTP/1.1
Host: sandbox.ledig.io
x-ledig-key: YOUR_API_KEY
x-ledig-timestamp: YOUR_API_KEY
x-ledig-signature: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"currency": "NGN"
}{
"currency": "NGN",
"account_name": "Ledig NGN Collection",
"account_number": "1234567890",
"bank": "Wema Bank"
}POST /v1/funding_request HTTP/1.1
Host: sandbox.ledig.io
x-ledig-key: YOUR_API_KEY
x-ledig-timestamp: YOUR_API_KEY
x-ledig-signature: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"pop": "https://link.to/proof-of-payment"
}{
"status": "success",
"response": {
"message": "Your Funding request is received and being verified. If all good, your account would soon be credited by a Ledig admin"
}
}POST /v1/fiat_virtuals HTTP/1.1
Host: sandbox.ledig.io
x-ledig-key: YOUR_API_KEY
x-ledig-timestamp: YOUR_API_KEY
x-ledig-signature: YOUR_API_KEY
Accept: */*
{
"results": [
{
"alias": "NGN Virtual",
"account_number": "247508125",
"bank": "Wema Bank"
}
]
}POST /v1/virtual_details HTTP/1.1
Host: sandbox.ledig.io
x-ledig-key: YOUR_API_KEY
x-ledig-timestamp: YOUR_API_KEY
x-ledig-signature: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"alias": "NGN Virtual"
}{
"alias": "NGN Virtual",
"account_number": "247508125",
"bank": "Wema Bank",
"status": "active"
}