Skip to content

List payments for an order

API v2 is in public beta: endpoints and fields can change before general availability. See the changelog

GET/preorders/orders/{id}/payments

Costs 1 rate-limit point · Rate limits

Read an order's payments: amount paid, balance outstanding, due date and payment attempts.

Only synced/recorded values; null when unknown.

Also searched asorder paymentsdepositbalanceremaining balancewas the balance collectedpayment attemptswhy did the payment fail

Path parameters

  • idstringRequired

Errors

401

Missing or invalid X-Auth-Token.

404

The resource does not exist for this shop, or the action path is not registered.

422

The request failed validation.

429

Rate limited: cost-weighted per token (read 1, write 2; 360 points / 60s). Check Retry-After.

Every error has the same shape: see Errors.

GET/preorders/orders/{id}/payments
curl "https://app.stoqapp.com/api/v2/external/preorders/orders/{id}/payments" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body