Documentation is still being updated. Some content maybe unfinished.
A valid request URL is required to generate request examples{
"order_id": 789,
"status": "processing",
"order_key": "wc_order_abc123xyz",
"order_number": "789",
"payment_result": {
"payment_status": "success",
"redirect_url": "https://example.com/checkout/order-received/789/?key=wc_order_abc123xyz",
"message": "Payment successful"
},
"customer_id": 123,
"billing_address": {
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"phone": "+1234567890",
"address_1": "123 Main St",
"address_2": "Apt 4B",
"city": "Anytown",
"state": "CA",
"postcode": "12345",
"country": "US",
"company": ""
},
"shipping_address": {
"first_name": "John",
"last_name": "Doe",
"address_1": "123 Main St",
"address_2": "Apt 4B",
"city": "Anytown",
"state": "CA",
"postcode": "12345",
"country": "US",
"company": ""
},
"cart_key": null
}Complete the checkout process, create order, and process payment
A valid request URL is required to generate request examples{
"order_id": 789,
"status": "processing",
"order_key": "wc_order_abc123xyz",
"order_number": "789",
"payment_result": {
"payment_status": "success",
"redirect_url": "https://example.com/checkout/order-received/789/?key=wc_order_abc123xyz",
"message": "Payment successful"
},
"customer_id": 123,
"billing_address": {
"first_name": "John",
"last_name": "Doe",
"email": "john@example.com",
"phone": "+1234567890",
"address_1": "123 Main St",
"address_2": "Apt 4B",
"city": "Anytown",
"state": "CA",
"postcode": "12345",
"country": "US",
"company": ""
},
"shipping_address": {
"first_name": "John",
"last_name": "Doe",
"address_1": "123 Main St",
"address_2": "Apt 4B",
"city": "Anytown",
"state": "CA",
"postcode": "12345",
"country": "US",
"company": ""
},
"cart_key": null
}Checkout completion data
Show child attributes
Show child attributes
Whether to use a different billing address from shipping
Payment method ID
Payment data to pass through to the payment gateway
Show child attributes
Shipping method ID
Currency code for the order (e.g., USD, EUR, GBP). Enables multi-currency support with compatible plugins. If not provided, store default will be used.
^[A-Z]{3}$"USD"
Create customer account during checkout (for guest checkout)
Password for new customer account (required if create_account is true)
Customer note for the order
Checkout processed successfully
Created order ID
Order status
Order key
Order number
Show child attributes
Customer ID
Show child attributes
Show child attributes
Cart key (null after successful checkout)
Was this page helpful?