Overview
This guide walks you through accepting payments using FossaPay’s Fiat Wallet API. You’ll learn how to create fiat wallets, receive payments, handle webhooks, and reconcile transactions.Quick Start
Creating Fiat Wallets
For Wallet Top-ups
For Invoice Payments
Displaying Account Details
Email Template
In-App Display (React)
Handling Webhook Notifications
Set Up Webhook Endpoint
Webhook Payload Example
Querying Transaction Status
Get Transaction by ID
List Virtual Account Transactions
Overpayment
Underpayment
Duplicate Payments
Best Practices
Always Use Metadata
Always Use Metadata
Store relevant information in metadata for easy tracking:
Set Expiry for Temporary Accounts
Set Expiry for Temporary Accounts
Always set expiry dates for invoice payments:
Verify Webhook Signatures
Verify Webhook Signatures
Never process webhooks without signature verification.
Handle Webhooks Idempotently
Handle Webhooks Idempotently
Always check for duplicates using transaction_id or event_id.
Send Confirmations
Send Confirmations
Always notify customers when payments are received.
Testing
Simulate Payment in Sandbox
Next Steps
Create Fiat Wallet API
API reference for creating fiat wallets
Webhooks Guide
Learn more about handling webhooks
Reconciliation Guide
Best practices for reconciliation
Wallets Concept
Understand wallets in depth