This is Spotflow’s Redirect Checkout. Initiate a payment request to generate a unique payment reference, payment code and checkout URL for your customers
Documentation Index
Fetch the complete documentation index at: https://docs.spotflow.one/llms.txt
Use this file to discover all available pages before exploring further.
channel is set to mobile_money and a planId is included, Spotflow will automatically send a mandate approval request to the customer’s phone. The subscription will only activate once the mandate is approved.See the full guide on Mobile Money Subscriptions.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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, XOF, XAF "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
Used when paying for a subscription plan.
"95eb086a-b11a-44b2-8422-a1955ca0fd9a"
Note that, this is only needed to be passed or used for XOF and XAF currency payments. Country code of XOF countries like Cote D'voire with code CI, or XAF countries like Cameroon with code CM.
"CI"
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.
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.