# 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[​](#arguments "Enlace directo al Arguments")

#### [`createPayment.input`](#input) ● [`CreatePaymentInput!`](https://docs.monei.com/es/es/apis/graphql/types/inputs/create-payment-input/.md) non-null input[​](#input "Enlace directo al input")

### Type[​](#type "Enlace directo al Type")

#### [`Payment`](https://docs.monei.com/es/es/apis/graphql/types/objects/payment/.md) object[​](#payment- "Enlace directo al payment-")

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