POST

Charge Order


Alpha

This method is in Alpha and may change in the future.

Charges payments for an order using one or more payment methods.

Supports charging through multiple payment methods in a single request:

  • Regular payments: Charges using the customer's payment method (credit card, PayPal, etc.).
  • Gift cards: Redeems gift card codes
  • Memberships: Charges membership credits or benefits for specific line items.

The method processes all specified payment types and returns the created payments along with the updated order transactions.

Endpoint
POST
https://www.wixapis.com/ecom/v1/order-billing/charge-order

Errors
400Invalid Argument

There are 2 errors with this status code.

404Not Found

There are 2 errors with this status code.

409Already Exists

There are 3 errors with this status code.

428Failed Precondition

There are 8 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?