Skip to main content

createPayment

Creates a payment. When paymentMethod or paymentToken is provided, attempts direct confirmation (saved cards, digital wallets) and may return a nextAction for 3DS. Otherwise returns a payment with a hosted-page redirect. For PAYOUT transactions the account balance is checked and reserved.

createPayment(
input: CreatePaymentInput!
): Payment

Arguments

createPayment.input ● CreatePaymentInput! non-null input

Type

Payment object

Payment returned from create/refund/capture/cancel and the send-link/receipt mutations.