Transfers
Overview
The Modem Pay Transfers API allows you to send funds from your business account to users, vendors, or other accounts. Transfers can be made via mobile money, internal (Modem Pay) transfers, or bank transfers (coming soon).
Use cases include:
- User withdrawals
- Vendor payouts
- Payroll and salary disbursements
Transfer Parameters
Here’s the general shape of a transfer request:
typescript
amount
– The amount to send.currency
– Currency code (e.g.,GMD
,USD
).network
– Mobile money provider or transfer channel.account_number
– Destination account (phone or bank account).beneficiary_name
– Name of the recipient.metadata
– Optional key-value pairs for internal tracking.
Transfer Object
Once initiated, a transfer is represented as:
typescript
This object is returned on creation and is also sent to your webhook endpoint when status updates occur.
Webhooks
Transfers are asynchronous and may trigger the following webhook events:
transfer.succeeded
transfer.failed
transfer.reversed