# PaymentProcessor

Payment processor that can take payments for one payment method on the account: MONEI, or a processor the merchant holds a contract with.

```
type PaymentProcessor {

  id: ID!

  kind: PaymentProcessorKind!

  name: String!

  paymentMethod: PaymentMethods!

  enabled: Boolean!

  status: PaymentProcessorStatus!

  deleted: Boolean!

  supportedWallets: [PaymentMethods!]

  brand: MerchantProcessorBrand

  acquirer: MerchantAcquirer

  metadata: [MetadataItem!]

  currencies: [Currencies!]

  createdAt: AWSDateTime

  rules: PaymentProcessorRules

}
```

### Fields[​](#fields "Enlace directo al Fields")

#### [`PaymentProcessor.id`](#id) ● [`ID!`](https://docs.monei.com/es/apis/graphql/types/scalars/id.md) non-null scalar[​](#id "Enlace directo al id")

Payment processor ID. `monei:<paymentMethod>` for MONEI, for example `monei:card`.

#### [`PaymentProcessor.kind`](#kind) ● [`PaymentProcessorKind!`](https://docs.monei.com/es/apis/graphql/types/enums/payment-processor-kind.md) non-null enum[​](#kind "Enlace directo al kind")

Who runs the processor.

#### [`PaymentProcessor.name`](#name) ● [`String!`](https://docs.monei.com/es/apis/graphql/types/scalars/string.md) non-null scalar[​](#name "Enlace directo al name")

Display name. `MONEI` for MONEI processors. For the merchant's own processors, the name the merchant gave it, else a label built from its brand and account details.

#### [`PaymentProcessor.paymentMethod`](#payment-method) ● [`PaymentMethods!`](https://docs.monei.com/es/apis/graphql/types/enums/payment-methods.md) non-null enum[​](#payment-method "Enlace directo al payment-method")

Payment method this processor takes.

#### [`PaymentProcessor.enabled`](#enabled) ● [`Boolean!`](https://docs.monei.com/es/apis/graphql/types/scalars/boolean.md) non-null scalar[​](#enabled "Enlace directo al enabled")

Whether the processor takes payments. `true` only when `status` is `ACTIVE`.

#### [`PaymentProcessor.status`](#status) ● [`PaymentProcessorStatus!`](https://docs.monei.com/es/apis/graphql/types/enums/payment-processor-status.md) non-null enum[​](#status "Enlace directo al status")

Whether the processor can take payments, and why not.

#### [`PaymentProcessor.deleted`](#deleted) ● [`Boolean!`](https://docs.monei.com/es/apis/graphql/types/scalars/boolean.md) non-null scalar[​](#deleted "Enlace directo al deleted")

`true` when the merchant deleted this processor. Only `paymentProcessor` returns deleted processors, so past payments can still show their name.

#### [`PaymentProcessor.supportedWallets`](#supported-wallets) ● [`[PaymentMethods!]`](https://docs.monei.com/es/apis/graphql/types/enums/payment-methods.md) list enum[​](#supported-wallets "Enlace directo al supported-wallets")

Wallets this processor serves. Set on card processors.

#### [`PaymentProcessor.brand`](#brand) ● [`MerchantProcessorBrand`](https://docs.monei.com/es/apis/graphql/types/enums/merchant-processor-brand.md) enum[​](#brand "Enlace directo al brand")

Brand of a processor the merchant holds a contract with. `null` for MONEI processors.

#### [`PaymentProcessor.acquirer`](#acquirer) ● [`MerchantAcquirer`](https://docs.monei.com/es/apis/graphql/types/enums/merchant-acquirer.md) enum[​](#acquirer "Enlace directo al acquirer")

Acquiring entity that settles the funds. `null` for MONEI processors.

#### [`PaymentProcessor.metadata`](#metadata) ● [`[MetadataItem!]`](https://docs.monei.com/es/apis/graphql/types/objects/metadata-item.md) list object[​](#metadata "Enlace directo al metadata")

Configuration values of a processor the merchant holds a contract with. Secret values are masked. `null` for MONEI processors. Schema is described by `paymentProcessorConfig`.

#### [`PaymentProcessor.currencies`](#currencies) ● [`[Currencies!]`](https://docs.monei.com/es/apis/graphql/types/enums/currencies.md) list enum[​](#currencies "Enlace directo al currencies")

Currencies this processor can take given its current configuration.

#### [`PaymentProcessor.createdAt`](#created-at) ● [`AWSDateTime`](https://docs.monei.com/es/apis/graphql/types/scalars/awsdate-time.md) scalar[​](#created-at "Enlace directo al created-at")

When the processor was added to the account. For MONEI processors, when MONEI was first set up for the payment method.

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

Conditions a payment must meet for the processor to take it. `null` for MONEI processors.

### Returned By[​](#returned-by "Enlace directo al Returned By")

[`createPaymentProcessor`](https://docs.monei.com/es/apis/graphql/operations/mutations/create-payment-processor.md) mutation ● [`deletePaymentProcessor`](https://docs.monei.com/es/apis/graphql/operations/mutations/delete-payment-processor.md) mutation ● [`enablePaymentProcessor`](https://docs.monei.com/es/apis/graphql/operations/mutations/enable-payment-processor.md) mutation ● [`paymentProcessor`](https://docs.monei.com/es/apis/graphql/operations/queries/payment-processor.md) query ● [`paymentProcessors`](https://docs.monei.com/es/apis/graphql/operations/queries/payment-processors.md) query ● [`updatePaymentProcessor`](https://docs.monei.com/es/apis/graphql/operations/mutations/update-payment-processor.md) mutation
