v1

latestOpenAPI 3.0.0Apache 2.02026-07-142008071.1 MB
V1Transactions

RetrieveOrder

Provides comprehensive information for a single online store order, including the order's history.

get/v1/{location_id}/orders/{order_id}

Path parameters

location_idstring required

The ID of the order's associated location.

order_idstring required

The order's Square-issued ID. You obtain this value from Order objects returned by the List Orders endpoint

Response

Success

btc_price_satoshinumber

For Bitcoin transactions, the price of the buyer's order in satoshi (100 million satoshi equals 1 BTC).

btc_receive_addressstring

For Bitcoin transactions, the address that the buyer sent Bitcoin to.

buyer_emailstring

The email address of the order's buyer.

buyer_notestring

A note provided by the buyer when the order was created, if any.

canceled_notestring

A note provided by the merchant when the order's state was set to CANCELED, if any.

completed_notestring

A note provided by the merchant when the order's state was set to COMPLETED, if any

created_atstring

The time when the order was created, in ISO 8601 format.

expires_atstring

The time when the order expires if no action is taken, in ISO 8601 format.

idstring

The order's unique identifier.

payment_idstring

The unique identifier of the payment associated with the order.

promo_codestring

The promo code provided by the buyer, if any.

recipient_namestring

The name of the order's buyer.

recipient_phone_numberstring

The phone number to use for the order's delivery.

refunded_notestring

A note provided by the merchant when the order's state was set to REFUNDED, if any.

statestring

Whether the tax is an ADDITIVE tax or an INCLUSIVE tax.

updated_atstring

The time when the order was last modified, in ISO 8601 format.