Skip to main content

checkoutPaymentCreate

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.

Added in Saleor 3.4

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.