Skip to main content

checkoutPaymentCreate Mutation

Creates a new payment for given checkout.

checkoutPaymentCreate(
checkoutId: ID
id: ID
input: PaymentInput!
token: UUID
): CheckoutPaymentCreate
Details
type CheckoutPaymentCreate {
checkout: Checkout
payment: Payment
paymentErrors: [PaymentError!]! @deprecated
errors: [PaymentError!]!
}

Arguments

id ● ID

The checkout's ID.

input ● PaymentInput!

Data required to create a new payment.

Show deprecatedHide deprecated

checkoutId ● ID

DEPRECATED

Use id instead.

The ID of the checkout.

token ● UUID

DEPRECATED

Use id instead.

Checkout token.

Type

CheckoutPaymentCreate

Creates a new payment for given checkout.