GET
/
api
/
v1
/
checkout-intents
/
{id}
Checkout Intent by ID
curl --request GET \
  --url https://staging.api.rye.com/api/v1/checkout-intents/{id} \
  --header 'Authorization: <api-key>'
{
  "buyer": {
    "postalCode": "10001",
    "country": "United States",
    "province": "NY",
    "city": "New York",
    "address2": "Apt 1",
    "address1": "123 Main St",
    "phone": "+1234567890",
    "email": "john.doe@example.com",
    "lastName": "Doe",
    "firstName": "John"
  },
  "productUrl": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "state": "retrieving_offer"
}

Authorizations

Authorization
string
header
required

Rye API key

Path Parameters

id
string
required

The id of the checkout intent to look up

Response

200
application/json

Checkout intent information

The response is of type object.