Retrieve an existing order of one of your sub-merchants by its ID. An order that does not belong to a sub-merchant under your partner account returns 404.
Security
bearerAuth or basicAuth
- Mock serverhttps://docs.resolvepay.com/_mock/partners-api/openapi/orders/{order_id}
- Sandbox serverhttps://app-sandbox.resolvepay.com/api/orders/{order_id}
curl -i -X GET \
'https://docs.resolvepay.com/_mock/partners-api/openapi/orders/{order_id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'An object representing an order.
ID of the checkout session that produced this order when a buyer authorized it through the sub-merchant's Checkout SDK. null for orders created through the API.
Example:"CHKabc123"
Whether the order is placed on net terms against the customer's credit line.
Example:true
Channel that created the order, for example checkout for Checkout SDK orders or api for orders created through the API.
Example:"checkout"
Current status of the order.
Enum:"authorized""partially_captured""fully_captured""canceled"
Example:"authorized"
Remaining authorized amount available for capture in USD.
Example:500
Timestamp of the first capture event.
Example:"2024-01-15T10:00:00.000Z"
Timestamp when the order was last updated.
Example:"2024-01-15T10:00:00.000Z"
Response
{ "id": "ORDlaE5wbg0", "merchant_id": "MER456789", "checkout_id": "CHKabc123", "number": "ord_100001", "po_number": "PO-555", "advance_requested": true, "source": "checkout", "status": "authorized", "amount_authorized": 1000, "amount_captured": 500, "amount_canceled": 0, "amount_remaining": 500, "first_captured_at": "2024-01-15T10:00:00.000Z", "line_items": [ { … } ], "authorization_expires_at": "2024-02-15T10:00:00.000Z", "authorization_expiry_source": "system", "authorized_at": "2024-01-01T00:00:00.000Z", "updated_at": "2024-01-15T10:00:00.000Z", "customer": { "id": "X50sgfRd", "name": "Acme Corp", "remaining_credit": 5000 }, "capture_events": [ { … } ] }