Payment Links & Checkout

Shareable payment links, and completing a checkout directly from your backend.

View as Markdown

Full guide at Hosted Checkout & Payment Links.

POST/api/Checkout— Complete a checkout directly from the backend (requires Idempotency-Key)
PropertyValue
Required scopepayment_links:write
Idempotency-KeyRequired
Financial mutationYes — moves money
ParameterInTypeRequired
customerEmailbodystring (email)
customerIdbodystring
customerNamebodystring
paymentLinkTokenbodystring
paymentMethodRefIdbodystring
priceIdbodystring
promotionCodebodystring
quantitybodyinteger (int32)
tokenRefbodystring
GET/api/Checkout/{checkoutId}— Look up a checkout and its payment (used by your backend to confirm an app payment; only paid: true means it succeeded)
PropertyValue
Required scopepayment_links:read
Idempotency-KeyNot required
ParameterInTypeRequired
checkoutIdpathstringRequired
GET/api/PaymentLink— List payment links
PropertyValue
Required scopepayment_links:read
Idempotency-KeyNot required
ParameterInTypeRequired
pagequeryinteger (int32)
pageSizequeryinteger (int32)
orderByquerystring
orderDirectionquerystring
createdFromquerystring (date-time)
createdToquerystring (date-time)
POST/api/PaymentLink— Create a new payment link
PropertyValue
Required scopepayment_links:write
Idempotency-KeyNot required
ParameterInTypeRequired
amountbodyinteger (int32)
currencybodystring
descriptionbodystring
designIdbodystring
expiresAtbodystring (date-time)
maxCompletionsbodyinteger (int32)
metadatabodyobject
namebodystring
priceIdbodystring
quantitybodyinteger (int32)
singleUsebodyboolean
successUrlbodystring (uri)
unitAmountbodyinteger (int32)
GET/api/PaymentLink/{paymentLinkId}— Retrieve a single payment link
PropertyValue
Required scopepayment_links:read
Idempotency-KeyNot required
ParameterInTypeRequired
paymentLinkIdpathstringRequired
PUT/api/PaymentLink/{paymentLinkId}— 更新付款連結。
PropertyValue
Required scopepayment_links:write
Idempotency-KeyNot required
ParameterInTypeRequired
paymentLinkIdpathstringRequired
designIdbodystring
expiresAtbodystring (date-time)
maxCompletionsbodyinteger (int32)
namebodystring
quantitybodyinteger (int32)
successUrlbodystring (uri)
POST/api/PaymentLink/{paymentLinkId}/Archive— 付款連結:Archive。
PropertyValue
Required scopepayment_links:write
Idempotency-KeyNot required
ParameterInTypeRequired
paymentLinkIdpathstringRequired
POST/api/PaymentLink/{paymentLinkId}/Complete— 付款連結:Complete。
PropertyValue
Required scopepayment_links:write
Idempotency-KeyRequired
Financial mutationYes — moves money
ParameterInTypeRequired
paymentLinkIdpathstringRequired
customerEmailbodystring (email)
customerIdbodystring
customerNamebodystring
paymentMethodRefIdbodystring
priceIdbodystring
promotionCodebodystring
tokenRefbodystring
POST/api/PaymentLink/{paymentLinkId}/Disable— 付款連結:Disable。
PropertyValue
Required scopepayment_links:write
Idempotency-KeyNot required
ParameterInTypeRequired
paymentLinkIdpathstringRequired
POST/api/PaymentLink/{paymentLinkId}/Duplicate— 付款連結:Duplicate。
PropertyValue
Required scopepayment_links:write
Idempotency-KeyNot required
ParameterInTypeRequired
paymentLinkIdpathstringRequired
POST/api/PaymentLink/{paymentLinkId}/Enable— 付款連結:Enable。
PropertyValue
Required scopepayment_links:write
Idempotency-KeyNot required
ParameterInTypeRequired
paymentLinkIdpathstringRequired