Download OpenAPI specification:
The Fiatsend API provides programmatic access for accounts, wallet management, P2P transfers, payment requests, disbursements, and more.
Headers required on all requests:
X-API-USER: Your user/account IDX-API-KEY: Your secret API keyX-API-PUBKEY: Your API public keyX-API-VASKEY: VAS/merchant ID key if applicableNote: Never commit your secret keys to git or expose in client-side code. Manage keys through your Fiatsend dashboard.
Create a new Fiatsend account by providing wallet address, signature, and phone number. Note: Created accounts must be activated by the Fiatsend team before use.
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
| wallet_address required | string |
| signature required | string |
| phone_number required | string |
{- "wallet_address": "string",
- "signature": "string",
- "phone_number": "string"
}| user_id required | string |
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
{- "id": "string",
- "name": "string",
- "email": "string",
- "phone_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "status": "active"
}| user_id required | string |
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
{- "status": "string"
}| agent_id required | number |
| from | string <date-time> |
| to | string <date-time> |
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
[- {
- "id": "string",
- "from_account": "string",
- "to_account": "string",
- "amount": 0,
- "currency": "string",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]Resolve a phone number to a Fiatsend wallet address.
| phone_number required | string |
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
{- "wallet_address": "string"
}Initiate a transfer to a wallet.
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
| from_account required | string |
| to_account required | string |
| amount required | number |
| currency required | string |
{- "from_account": "string",
- "to_account": "string",
- "amount": 0,
- "currency": "string"
}{- "id": "string",
- "from_account": "string",
- "to_account": "string",
- "amount": 0,
- "currency": "string",
- "status": "string",
- "created_at": "2019-08-24T14:15:22Z"
}Fetch status for a given transaction ID.
| id required | string |
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
{- "status": "string"
}Send to another Fiatsend user using their mobile number.
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
| from_number required | string |
| to_number required | string |
| amount required | number |
| currency | string |
{- "from_number": "string",
- "to_number": "string",
- "amount": 0,
- "currency": "string"
}Initiate payment request to a recipient.
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
| agent_id required | number |
| recipient_number required | string |
| otp_code | string Only required for first-time request |
| amount required | number |
{- "agent_id": 0,
- "recipient_number": "string",
- "otp_code": "string",
- "amount": 0
}Disburse a payment to a recipient.
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
| agent_id required | number |
| recipient_number required | string |
| amount required | number |
| currency | string |
{- "agent_id": 0,
- "recipient_number": "string",
- "amount": 0,
- "currency": "string"
}Generate a transaction/payment ID for later use in the system.
| X-API-USER required | string Your user/account ID |
| X-API-KEY required | string Your secret API key |
| X-API-PUBKEY required | string Your API public key |
| X-API-VASKEY | string VAS/merchant ID key if applicable |
| purpose | string |
{- "purpose": "string"
}{- "transaction_id": "string"
}Webhook endpoint to receive payment status notifications.
| transaction_id | string |
| status | string |
| event_type | string |
{- "transaction_id": "string",
- "status": "string",
- "event_type": "string"
}