Skip to main content

PaymentInput Input Type

No description

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

Fields

gateway ● String!

A gateway to use with that payment.

token ● String

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

amount ● PositiveDecimal

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

returnUrl ● String

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.

storePaymentMethod ● StorePaymentMethodEnum

Payment store type.

metadata ● [MetadataInput!]

User public metadata. Can be read by any API client authorized to read the object it's attached to.

Warning: never store sensitive information, including financial data such as credit card details.

Member Of

checkoutPaymentCreate mutation