checkoutPaymentCreate Mutation
Creates a new payment for given checkout.
checkoutPaymentCreate(checkoutId: ID, id: ID, input: PaymentInput!, token: UUID): CheckoutPaymentCreate
Returns
Show return type
type CheckoutPaymentCreate {
checkout: Checkout
payment: Payment
paymentErrors: [PaymentError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [PaymentError!]!
}Arguments
checkoutId
checkoutId · ID
The ID of the checkout.
id
id · ID
The checkout’s ID.
input
input · PaymentInput!
Data required to create a new payment.
token
token · UUID
Checkout token.
Schema: Saleor 3.23.43. Download SDL.