v4

latestOpenAPI 3.1.02026-08-08186985685.3 KB
subscription

Purchase Subscription with New Card

Purchase a subscription with a new credit card

post/subscription/{merchantId}/subscribers/card

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'

Response

Ok

string required