POST /v1/payment-intents
POST
/v1/payment-intentsAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredHeader parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerProfileIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullamountnumberrequiredcurrencystringrequiredmin length 1
captureModestringrequiredAllowed:
automaticmanualpaymentMethodIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullplatformPaymentMethodIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullexternalPaymentRefstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullreturnUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullstatementDescriptorstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullfraudSessionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmetadataobject | nullShow propertiesHide properties
Any of:
object
objectnull
nullidempotencyKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullplatformFeeAmountnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullsurchargeobject | nullShow propertiesHide properties
Any of:
object
amountnumberrequireddisclosedbooleanrequiredcardFundingstringrequiredAllowed:
creditdebitprepaidnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
paymentIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstringrequiredmin length 1
customerProfileIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentMethodIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullstatusstringrequiredmin length 1
amountnumberrequiredcurrencystringrequiredmin length 1
requiresActionbooleanrequiredcanCapturebooleanrequiredcanCancelbooleanrequiredcanRetrybooleanrequirednextStepstringrequiredmin length 1
nextActionTypestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullhostedActionUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullplatformFeeAmountnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullcreatedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1