Saltar al contenido principal

PaymentProcessor

Payment processor that can take payments for one payment method on the account: MONEI, or a processor the merchant holds a contract with. Settings > Payment methods shows the processors of each payment method.

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​

PaymentProcessor.id ● ID! non-null scalar​

Payment processor ID: monei:<paymentMethod> for MONEI, for example monei:card, else the ID of a processor the merchant holds a contract with.

PaymentProcessor.kind ● PaymentProcessorKind! non-null enum​

Who runs the processor.

PaymentProcessor.name ● String! non-null scalar​

Display name. MONEI for MONEI processors (Creand on some accounts in Andorra). For the merchant's own processors, the name the merchant gave it, else a label built from its brand and account details.

PaymentProcessor.paymentMethod ● PaymentMethods! non-null enum​

Payment method this processor takes.

PaymentProcessor.enabled ● Boolean! non-null scalar​

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

PaymentProcessor.status ● PaymentProcessorStatus! non-null enum​

Whether the processor can take payments, and why not.

PaymentProcessor.deleted ● Boolean! non-null scalar​

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

PaymentProcessor.supportedWallets ● [PaymentMethods!] list enum​

Wallets this processor serves: applePay, googlePay or clickToPay. Set on card processors only; null for other payment methods.

PaymentProcessor.brand ● MerchantProcessorBrand enum​

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

PaymentProcessor.acquirer ● MerchantAcquirer enum​

Acquiring entity that settles the funds. null for MONEI processors, and when the stored acquirer is not a MerchantAcquirer value.

PaymentProcessor.metadata ● [MetadataItem!] list object​

Configuration values of a processor the merchant holds a contract with, one per field of paymentProcessorConfig. Secret values are masked (see MetadataItem.value). Fields for MONEI use only are left out. null for MONEI processors.

PaymentProcessor.currencies ● [Currencies!] list enum​

Currencies this processor can take given its current configuration.

PaymentProcessor.createdAt ● AWSDateTime scalar​

When the processor was added to the account, as an ISO 8601 date-time. For MONEI processors, when MONEI was first set up for the payment method.

PaymentProcessor.rules ● PaymentProcessorRules object​

Routing rules: conditions a payment must meet for the processor to take it. null for MONEI processors, and when no rules are set.

Returned By​

createPaymentProcessor mutation ● deletePaymentProcessor mutation ● enablePaymentProcessor mutation ● paymentProcessor query ● paymentProcessors query ● updatePaymentProcessor mutation