Orders
Get orders by payment gateway reference IDs
Changed onRequires the order:list scope. Retrieve orders using multiple payment gateway reference IDs. Values are trimmed and deduplicated before lookup. Supply between 1 and 25 nonblank IDs.
get/v3/orders/pg-reference-ids
Request
- Base URLhttps://api.scalev.com
- URLhttps://api.scalev.com/v3/orders/pg-reference-ids
- Auth
- HTTP bearer
- or API key in header authorization
Query parameters
pg_reference_idsstring required
Comma-separated payment gateway reference IDs. Blank entries are ignored; surrounding whitespace is trimmed and duplicate IDs are ignored. The normalized list must contain between 1 and 25 nonblank IDs.
Response
Orders found
Example response
{
"PG_REFERENCE_ID": {
"order_id": "250101ABCDEFG"
}
}Changes
- breaking
for the
queryrequest parameterpg_reference_ids, the minLength was increased from0to1 - breaking
added the pattern
.*\S.*to thequeryrequest parameterpg_reference_ids - info
added the non-success response with the status
- breaking