POST /v1/invoices/{invoiceId}/hosted-link
POST
/v1/invoices/{invoiceId}/hosted-linkAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
invoiceIdstringrequiredmin 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/jsonlinkIdany | nullShow propertiesHide properties
Any of:
any
anynull
nulltokenHashany | nullShow propertiesHide properties
Any of:
any
anynull
nullenvironmentstring | 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
nullexpiresAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
linkobjectrequiredShow propertiesHide properties
linkIdstringrequiredmin length 1
invoiceIdstringrequiredmin length 1
tokenHashstringrequiredmin length 1
statusstringrequiredAllowed:
activerevokedcreatedByTypestringrequiredAllowed:
systemoperatorcreatedByRefstringrequiredmin length 1
createdAtstringrequiredmin length 1
expiresAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrevokedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltokenstringrequiredmin length 1
hostedInvoiceUrlstringrequiredmin length 1
requestIdstringrequiredmin length 1