curl -X POST https://api.rye.com/v1/checkout-intents/purchase \
-H "Authorization: Bearer $RYE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"productUrl": "https://example-store.myshopify.com/products/example-product",
"quantity": 1,
"buyer": {
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com",
"phone": "+15551234567",
"address1": "123 Main St",
"city": "New York",
"province": "NY",
"postalCode": "10001",
"country": "US"
},
"paymentMethod": {
"type": "nekuda_token",
"nekudaUserId": "<NEKUDA_USER_ID>"
}
}'