CheckoutPaymentInput Input
Description
Input fields for adding a payment method to a checkout.
Declaration
input CheckoutPaymentInput {
origin: String!
amount: Float!
charge: JSON
intentId: String
}
Fields
| Name | Type | Description |
|---|---|---|
origin | String! | Origin or type of the payment method, such as card, cash, or giftCard. |
amount | Float! | Amount to be paid using this payment method. |
charge | JSON | Additional payment charge data as JSON, such as transaction details or payment processor information. |
intentId | String | Identifier of the transaction at the payment processor — a Stripe payment intent (pi_…) or a Paypal capture id. Same field the eshop payment flow fills in, so an order reconciles the same way whichever side took the money. |