Skip to main content

List Sales Order Payments

GET 

/api/sales-orders/:salesOrderId/payments

Lists all payments recorded against a sales order.

Required scope: orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Response fields (per payment):

  • id (integer): Payment ID.
  • amount (number): Payment amount in the payment currency.
  • cost (number|null): Processing cost associated with the payment, when tracked.
  • payment_date (string): Payment date as a UTC datetime.
  • payment_type (object): {id, name} of the payment type (e.g. Check, Credit Card).
  • external_reference (string|null): External reference such as a cheque or transaction number.
  • type (string|null): direct, overpayment, prepayment, or null.
  • currency_code (string): ISO currency code of the payment.
  • sales_credit_allocation (object|null): {id, sales_credit_id, sales_credit_number} — set only on payments that were created by applying a store credit to the order. Such payments cannot be deleted directly; reverse them by unallocating the linked sales credit.

Path parameters:

  • salesOrderId (required): Sales Order ID.

Returns 404 when the sales order does not exist.

Request

Responses

OK

Response Headers
    Content-Type