Skip to main content
POST
/
bulk-plans
cURL
curl --request POST \
  --url https://api.spotflow.co/api/v1/bulk-plans \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "file": "string"
}'
{}

Required Fields in CSV File

FieldTypeDescription
titlestringName/Title of plan
frequencystringThis simply means how often. Valid frequencies are: daily, weekly, monthly, quarterly, biannually (every 6 months), annually.
amountintergerAmount should be in the subunit of our supported currency i.e your local currency or USD.
currencystringCurrency code (e.g., NGN, USD).
internalReferencestringA unique reference number generated by your company to identify each customer.
pricingOptionsstringSpecify one or more amount or currency for your payment plan.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

skipErrors
boolean

The unique identifier of the plan whose subscriptions are to be retrieved.

Body

application/json
file
file
required

Upload the file content and must in CSV format.

Response

A JSON array of subscription objects.

The response is of type object.