Skip to main content

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

1

Create a Fiat Wallet

Generate a unique account number for your customer
2

Share Account Details

Provide the account number to your customer
3

Receive Payment

Customer transfers money to the wallet account
4

Get Notified

Receive instant webhook notification
5

Credit Customer

Update your customer’s balance or fulfill their order

Creating Fiat Wallets

For Wallet Top-ups

Response:

For Invoice Payments

Response:
Share the account details with the customer for payment.

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

Store relevant information in metadata for easy tracking:
Always set expiry dates for invoice payments:
Never process webhooks without signature verification.
Always check for duplicates using transaction_id or event_id.
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