cURL
curl --request GET \ --url https://staging.api.rye.com/api/v1/checkout-intents/{id} \ --header 'Authorization: Bearer <token>'
{ "buyer": { "postalCode": "10001", "country": "US", "province": "NY", "city": "New York", "address2": "Apt 1", "address1": "123 Main St", "phone": "5555555555", "email": "john.doe@example.com", "lastName": "Doe", "firstName": "John" }, "quantity": 123, "productUrl": "<string>", "createdAt": "2023-11-07T05:31:56Z", "id": "<string>", "state": "retrieving_offer" }
Retrieve a checkout intent by id
Returns checkout intent information if the lookup succeeds.
Rye API key. Format: Bearer <RYE_API_KEY>
Bearer <RYE_API_KEY>
The id of the checkout intent to look up
Checkout intent information
The response is of type object.
object
Was this page helpful?