Skip to main content

checkoutPaymentCreate Mutation

Create a new payment for given checkout.

checkoutPaymentCreate(
checkoutId: ID
id: ID
input: PaymentInput!
token: UUID
): CheckoutPaymentCreate

Arguments

checkoutPaymentCreate.checkoutId ● ID scalar miscellaneous

The ID of the checkout.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

checkoutPaymentCreate.id ● ID scalar miscellaneous

The checkout's ID.

checkoutPaymentCreate.input ● PaymentInput! non-null input payments

Data required to create a new payment.

checkoutPaymentCreate.token ● UUID scalar miscellaneous

Checkout token.

DEPRECATED: this field will be removed in Saleor 4.0. Use id instead.

Type

CheckoutPaymentCreate object checkout

Create a new payment for given checkout.