Payments

Reading payments, plus attempt/reconcile.

View as Markdown

A payment's status is Succeeded, Failed, or Unknown (see Sandbox vs Production). Unknown must be resolved via reconcile — never retried directly.

GET/api/Payment— List payments
PropertyValue
Required scopepayments:read
Idempotency-KeyNot required
ParameterInTypeRequired
pagequeryinteger (int32)
pageSizequeryinteger (int32)
orderByquerystring
orderDirectionquerystring
createdFromquerystring (date-time)
createdToquerystring (date-time)
GET/api/Payment/{paymentId}— Retrieve a single payment
PropertyValue
Required scopepayments:read
Idempotency-KeyNot required
ParameterInTypeRequired
paymentIdpathstringRequired
POST/api/Payment/{paymentId}/Attempt— Simulate a charge attempt in Sandbox (requires Idempotency-Key)
PropertyValue
Required scopepayments:write
Idempotency-KeyRequired
Financial mutationYes — moves money
ParameterInTypeRequired
paymentIdpathstringRequired
POST/api/Payment/{paymentId}/Reconcile— Resolve an unknown payment's final outcome (requires Idempotency-Key)
PropertyValue
Required scopepayments:write
Idempotency-KeyRequired
Financial mutationYes — moves money
ParameterInTypeRequired
paymentIdpathstringRequired