Skip to main content

CheckoutPaymentCreate

Create a new payment for given checkout.

type CheckoutPaymentCreate {
checkout: Checkout
payment: Payment
paymentErrors: [PaymentError!]! @deprecated
errors: [PaymentError!]!
}

Fields

CheckoutPaymentCreate.checkout ● Checkout object checkout

Related checkout object.

CheckoutPaymentCreate.payment ● Payment object payments

A newly created payment.

CheckoutPaymentCreate.paymentErrors ● [PaymentError!]! deprecated non-null object payments

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

CheckoutPaymentCreate.errors ● [PaymentError!]! non-null object payments

Returned By

checkoutPaymentCreate mutation