Create Plans

Create a new subscription plan

Authentication

Authorizationstring
The API key of the merchant - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key

Request

This endpoint expects an object.
namestringRequired
codestringRequired
intervalenumRequired
amountobjectRequired
durationintegerOptional>=1
descriptionstringOptional
transactionstringOptional
settlementChainenumOptional
activebooleanOptional
merchantInitiatedbooleanOptional
Only specify this as true if you do not want subscription payments automatically processed. Then you will be responsible for manually calling the merchant initiated transaction endpoint.

Response

Ok
idstring
namestring
codestring
intervalenum
amountobject
activeboolean
durationinteger>=1
descriptionstring
transactionstring
settlementChainenum
merchantInitiatedboolean
Only specify this as true if you do not want subscription payments automatically processed. Then you will be responsible for manually calling the merchant initiated transaction endpoint.