Skip to main content
Version: 3.x


No description

input PaymentInput {
gateway: String!
token: String
amount: PositiveDecimal
returnUrl: String
storePaymentMethod: StorePaymentMethodEnum
metadata: [MetadataInput!]


PaymentInput.gateway ● String! non-null scalar

A gateway to use with that payment.

PaymentInput.token ● String scalar

Client-side generated payment token, representing customer's billing data in a secure manner.

PaymentInput.amount ● PositiveDecimal scalar

Total amount of the transaction, including all taxes and discounts. If no amount is provided, the checkout total will be used.

PaymentInput.returnUrl ● String scalar

URL of a storefront view where user should be redirected after requiring additional actions. Payment with additional actions will not be finished if this field is not provided.

PaymentInput.storePaymentMethod ● StorePaymentMethodEnum enum

Payment store type.

Added in Saleor 3.1

PaymentInput.metadata ● [MetadataInput!] list input

User public metadata.

Added in Saleor 3.1

Member of

checkoutPaymentCreate mutation

Was this page helpful?