Orders > Orders > ordersPay
POST:orders/pay.json
Description
Perform payment on an existing order.
Permission bit: "orders.payment"
Topic: Orders
Arguments
data: OrderPayment!
Main argument for mutations.
Unique order identifier. See also: Unique Identifiers
Example: "or_EQzGqWoY"
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Confirm pending payment intent
credit_card: OrderPaymentCreditCard
Use it to perform gateway payment
manual: OrderPaymentManual
Use it to perform manual payment
Use it to perform gateway payment (when gateway type is "stripe")
paypal: OrderPaymentPaypal
Use it to perform gateway payment (when gateway type is "paypal")
Result
Preview (typescript)
Loading module