Purchase Subscription with New Card
Purchase a subscription with a new credit card
Authentication
x-coinflow-auth-session-keystring
The session key generated for the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
OR
x-coinflow-auth-walletstring
The web3 wallet of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
x-coinflow-auth-blockchainstring
The blockchain associated with the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
Path parameters
merchantId
Headers
x-device-id
- (Optional) If you are using Coinflow Chargeback Protection, you must pass the device id of the customer's device.
Request
This endpoint expects an object.
planCode
The code of the plan to use for the subscription
card
Credit card information. Always pass address unless explicitly told that you may not
fixedFee
customerInfo
webhookInfo
chargebackProtectionData
Purchase *
feePercentage
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.
authentication3DS
threeDsChallengePreference
Allowed values:
accountFundingTransaction
Used for Account Funding Transactions
Response
Ok

