Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Specify a unique reference ID generated by your company to identify each customer.
"string"
Select the currency for the payment charge. Can either be in USD or in the local currency of your collection region. If you put in USD, you have to put in the local currency of the region in the local currency request field.
"USD"
Channel can be Card, Bank Transfer, Mobile Money or EFT depending on the region
card, bank_transfer, mobile_money, eft "card"
The customer’s email address
Amount should be in the subunit of our supported currency i.e your local currency or USD. This is not needed if you use a planId in your request.
100
Used when paying for a subscription plan.
"95eb086a-b11a-44b2-8422-a1955ca0fd9a"
This is the local currency of your region. Used only when currency is set to USD. According to the local region, this can either be in NGN, GHS, ZAR, TZS, KSH etc.
"NGN"
This contains the encrypted card data (token) and encryption key information gotten from your dashboard. This is based on the AES-256-GCM encryption algorithm. According to compliance rules, you can do this if you have PCI-DSS certification.
"8NqWW9RdFa+iNM6+Y4k92V0n3xxxxxxxxxxxx"
This is the phone number of the region you want to put in. E.g mobile_money number for Ghana, Kenya, Tanzania etc.
This is the URL you want your users to be redirected to after making payments. You can also set this permanently on your Spotflow dashboard.
"https://yourapp.com/callback"
This is information pertaining to additional details about your product or service. Under metadata, you have productName” as a field — This is necessary for you to add as it indicates the name of your product and helps to specify to your user what your product is called. You can add any other additional field as you deem fit.
Response
A JSON array of create payment objects.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
"REF123456789"
100
"USD"
"SUCCESS"
"SPF-REF-001"
156000
500
"NGN"
"card"
"TEST"
"Transaction successful"
1560
"Nigeria"
"2025-10-17T15:21:11.287Z"
{
"orderId": "ORD-000123",
"note": "First payment"
}50
156050
"3fa85f64-5717-4562-b3fc-2c963f66afa6"

