Skip to main content
GET
/
api
/
public
/
v1
/
orders
/
{orderId}
Get order by ID
curl --request GET \
  --url https://app.tagadapay.com/api/public/v1/orders/{orderId} \
  --header 'Authorization: Bearer <token>'
{
  "order": {
    "id": "ord_123",
    "status": "paid",
    "createdAt": "2024-03-20T10:30:00Z",
    "customer": {
      "email": "john@example.com",
      "name": "John Doe"
    },
    "items": [
      {
        "id": "li_123",
        "quantity": 1,
        "orderLineItemProduct": {
          "name": "Premium Plan"
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Path Parameters

orderId
string
required

Response

Successful response