Skip to main content
POST
/
v1
/
payments
Create a payment request
curl --request POST \
  --url https://sandbox.inflowafrica.com/api/v1/payments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "targetAmount": 35000,
  "sourceCurrency": "EUR",
  "targetCurrency": "NGN",
  "description": "Monthly subscription",
  "reference": "<string>",
  "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "payerName": "<string>",
  "payerEmail": "<string>",
  "redirectUrl": "<string>",
  "metadata": {}
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.inflowafrica.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your API key starting with gtw_sk_

Body

application/json
targetAmount
number
required

Payment target amount

Example:

35000

sourceCurrency
string
required

ISO 4217 source currency code

Example:

"EUR"

targetCurrency
string
required

ISO 4217 target currency code (must be NGN)

Example:

"NGN"

description
string
Example:

"Monthly subscription"

reference
string

Unique payment reference (auto-generated if omitted)

customerId
string<uuid>

Associate payment with a specific customer

payerName
string
payerEmail
string
redirectUrl
string

URL to redirect after payment authorization

metadata
object

Response

Payment created with link token