Skip to main content
Version: 3.x

checkoutPaymentCreate

Create a new payment for given checkout.

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

Arguments

checkoutPaymentCreate.checkoutId ● ID scalar

The ID of the checkout.

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

checkoutPaymentCreate.id ● ID scalar

The checkout's ID.

Added in Saleor 3.4

checkoutPaymentCreate.input ● PaymentInput! non-null input

Data required to create a new payment.

checkoutPaymentCreate.token ● UUID scalar

Checkout token.

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

Type

CheckoutPaymentCreate object

Create a new payment for given checkout.


Was this page helpful?