Skip to main content
GET
/
v3
/
orders
/
pg-reference-id
/
{pg_reference_id}
Get an order by payment gateway reference ID
curl --request GET \
  --url https://api.myscalev.com/v3/orders/pg-reference-id/{pg_reference_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pg_reference_id
string
required

Response

Order found

id
integer