POST /v1/payments/{paymentId}/refund-link
POST
/v1/payments/{paymentId}/refund-linkAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
paymentIdstringrequiredmin 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
nullexpiresAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
linkobjectrequiredShow propertiesHide properties
linkIdstringrequiredmin length 1
tokenHashstringrequiredmin length 1
paymentIdstringrequiredmin length 1
statusstringrequiredAllowed:
activerevokedcreatedAtstringrequiredmin length 1
expiresAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltokenstringrequiredmin length 1
hostedRefundPortalUrlstringrequiredmin length 1
requestIdstringrequiredmin length 1