# 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 "Direct link to Arguments")

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

### Type[​](#type "Direct link to Type")

#### [`Payment`](https://docs.monei.com/apis/graphql/types/objects/payment/.md) object[​](#payment- "Direct link to payment-")

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