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, NGN, GHS, KES, ZAR, TZS "USD"
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.
0
The default maximum expiry time is 30 mins. However, you can set yours to the time you desire. The least time you can set is 5 mins.
10
This is optional to add. Channel can be Card, Bank Transfer, Mobile Money or EFT depending on the region
card, bank_transfer, mobile_money, eft "card"
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, GHS, KES, ZAR, TZS "NGN"
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 the phone number of the region you want to put in. E.g mobile_money number for Ghana, Kenya, Tanzania etc.
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 intialize payment objects.
"https://checkout.spotflow.co/paymentCode"
"PAY123456789"
"pending"
"TEST"
"2025-11-03T10:16:26.948278058"
"https://yourapp.com/callback"
This is information pertaining to additional details about your product or service.

