Objects
DeactivatePaymentMethodCommandResponse
Takes a payment method out of use for new documents. Documents, payments and customers that carry it keep it, so there is no delete. Errors: errorCode is PAYMENT_METHOD_NOT_FOUND (no payment method with this ID); errorCode is PAYMENT_METHOD_ALREADY_INACTIVE (the payment method is already inactive); errorCode is PAYMENT_METHOD_IS_DEFAULT (the default payment method cannot be deactivated); errorCode is PAYMENT_METHOD_IS_VOUCHER_PAYMENT_METHOD (the payment method of the vouchers account cannot be deactivated). The error lists all blockers. - Response
object
DeactivatePaymentMethodCommandResponseFields
affectedPaymentMethodId
ID!
The ID of the deactivated payment method.
Was this page helpful?