v3

latestOpenAPI 3.1.02026-08-06186981679.4 KB
subscription

Purchase Subscription with Existing Card

Purchase a subscription with an existing credit card

post/subscription/{merchantId}/subscribers/token

Path parameters

merchantIdstring required

Headers

x-coinflow-auth-session-keystring required
x-device-idstring
  • (Optional) If you are using Coinflow Chargeback Protection, you must pass the device id of the customer's device.

Request body

feePercentagenumber double

If this purchase is for a seller/submerchant where the marketplace takes a fee, this is the % fee which is taken from the subtotal amount.

planCodestring required

The code of the plan to use for the subscription

threeDsChallengePreference'NoPreference' | 'Frictionless' | 'Challenge'
tokenstring required

Token for the card to be used for the subscription

Response

Ok

string required