Skip to main content
POST
/
v1
/
transfers
Create a transfer
curl --request POST \
  --url https://api.modempay.com/v1/transfers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "amount": 100,
  "currency": "GMD",
  "network": "afrimoney",
  "account_number": "7012345",
  "beneficiary_name": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "amount": 123,
  "currency": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Use your Modem Pay secret key.

  • Test environment: Use your sk_test_... key.
  • Production environment: Only use sk_live_... on your personal, secure machine. Do NOT share or commit your production keys.

Headers

Idempotency-Key
string
required

Body

application/json
amount
number
required
Example:

100

currency
string
required
Example:

"GMD"

network
string
required
Example:

"afrimoney"

account_number
string
required
Example:

"7012345"

beneficiary_name
string
required
narration
string
metadata
object

Response

201 - application/json

Transfer created

id
string<uuid>
amount
number
currency
string
status
string