Spree Admin SDK
List payments
Returns all payments for an order.
Required scope: read_payments (for API-key authentication).
GET
Spree Admin SDK
Filters
Filter withq[<attribute>_<predicate>]=value, for example q[avs_response_cont]=…. Send a list as q[<attribute>_in][]=a&q[<attribute>_in][]=b. How filters work.
Filters through associations
Filters through associations
Prefix an associated record’s attribute with the association, as in
q[order_id_eq]. The same predicates apply.amount, avs_response, created_at, cvv_response_code, cvv_response_message, id, response_code, state, status, updated_at. Prefix a field with - to sort descending.Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Path Parameters
Order ID
Query Parameters
Comma-separated associations to expand (e.g., payment_method, source). Use dot notation for nested expand (max 4 levels).
Comma-separated list of fields to include (e.g., amount,status,number,response_code). id is always included.
Attribute filters, as q[<attribute>_<predicate>]=value. See Filters above for the list.
Response
200 - application/json
payments found

