add subscription

Creates a new subscription (otherwise known as a regular donation) in Raisely. External applications may use this endpoint to import regular donations created offline into Raisely, as long as you have tokenised card details in Stripe.

To create a new subscription, you need to have a customer and card in Stripe, then set the source to OFFLINE. If you omit the nextPayment date, a payment will be taken immediately, otherwise it will be taken after the date specified.

This endpoint must be authenticated.

Note: Raisely charges processing fees for imported subscriptions. Contact us for more information.

For custom components:

RaiselyComponents.api.all('subscriptions').post(data = {}, params = {}, headers = {}) => Promise<{result}>

See Restie Response Data for a more detailed overview of responses through the client wrapper

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
boolean

Returns the full record when authenticated

Body Params

The subscription record to be created

data
object
Headers
string

A valid HTTP Bearer token, required to access private records.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json