Purchase Subscription with New Card

Purchase a subscription with a new credit card

Authentication

x-coinflow-auth-session-keystring
OR
x-coinflow-auth-walletstring
x-coinflow-auth-blockchainstring

Path parameters

merchantIdstringRequired

Headers

x-device-idstringOptional
- (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.
planCodestringRequired
The code of the plan to use for the subscription
cardobjectRequired

Credit card information. Always pass address unless explicitly told that you may not

fixedFeeobjectOptional
customerInfoobjectOptional
webhookInfoobjectOptional
chargebackProtectionDatalist of any or objectsOptional

Purchase *

feePercentagedoubleOptional0-100

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.

authentication3DSobjectOptional
threeDsChallengePreferenceenumOptional
Allowed values:
accountFundingTransactionobjectOptional
Used for Account Funding Transactions

Response

Ok