post
https://stagingstores.xoxoday.com/chef/v1/oauth/api
Apply payment details to a cart before placing the order.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Request Schema
| Parameter | Type | Description |
|---|---|---|
| cartId | String | Cart ID to update. |
| paymentDetails | String (JSON array) | JSON-encoded array of payment objects (fields below). |
| paymentDetails[].OuterId | String | Client-side reference ID for the payment entry. |
| paymentDetails[].Amount | Number | Amount paid via this method. |
| paymentDetails[].PaymentGatewayCode | String | Payment gateway code, e.g. DefaultManualPaymentMethod. |
| paymentDetails[].Price | Number | Price associated with the payment entry. |
| paymentDetails[].DiscountAmount | Number | Discount applied on this entry. |
| paymentDetails[].TaxPercentRate | Number | Tax percentage applied on this entry. |
| paymentDetails[].CurrencyCode | String | Currency code for the payment, e.g. INR. |
Response Schema
| Path | Type | Description |
|---|---|---|
| data | object | Root response object. |
| data.updatePayment | object | Container for the payment update result. |
| data.updatePayment.status | number | API execution status (1 = success). |
| data.updatePayment.message | string | Result message (e.g. Payment updated successfully). |
Implementation Notes
paymentDetailsmust be sent as a JSON-encoded string containing an array of payment objects.- Set payment on the cart with this call before calling Place Cart Order.
- This response is taken from an actual staging call.

