POST /v1/payment-requests/{paymentRequestId}/links
POST
/v1/payment-requests/{paymentRequestId}/linksAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
paymentRequestIdstringrequiredmin length 1
Query parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Header 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
nullcreatedByTypestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcreatedByRefstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullsuccessUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcancelUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullreturnUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentMethodIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerEmailstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullbillingAddressCollectionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullexpiresAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
linkobjectrequiredShow propertiesHide properties
linkIdstringrequiredmin length 1
paymentRequestIdstringrequiredmin length 1
tokenHashstringrequiredmin length 1
statusstringrequiredAllowed:
activerevokedcreatedByTypestringrequiredAllowed:
systemoperatorcreatedByRefstringrequiredmin length 1
createdAtstringrequiredmin length 1
successUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcancelUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullreturnUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentMethodIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcustomerEmailstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullbillingAddressCollectionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullexpiresAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrevokedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltokenstringrequiredmin length 1
checkoutUrlstringrequiredmin length 1
requestIdstringrequiredmin length 1