Skip to main content
POST
/
orders
/
{id}
Callback Example
curl --request POST \
  --url https://api.petstoreapi.com/v1/orders/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "738.05",
  "currency": "USD",
  "timestamp": "1758613403",
  "callbackUrl": "https://example.com/callbacks/orders/1312312"
}
'
{}

Headers

X-Tenant-ID
string<uuid>

Optional tenant identifier for data isolation. When provided, all operations will be scoped to this tenant, ensuring data separation between different organizations or users. If omitted, operations will access the shared/public data pool where data may be visible to and modified by other users.

Path Parameters

id
string<uuid>
required

Unique identifier for the order

Body

application/json
amount
string
required

The payment amount

currency
string
required

The payment currency

timestamp
string
required

Operation timestamp

callbackUrl
string<uri>
required

URL to call back when processing is complete

Response

Callback enqueued successfully.

The response is of type object.