deleteCustomerPaymentMethod
Deletes one saved payment method of a customer of the current account, then returns true. Refused while a subscription with the status ACTIVE, TRIALING, PAUSED or PAST_DUE has this payment method as its sequenceId. When it is the customer's default, defaultTokenId is cleared. A payment method that the customer does not own returns a Payment method not found error. Arguments: - customerId: Customer ID. - tokenId: Payment method ID, from CustomerPaymentMethod.id.
deleteCustomerPaymentMethod(
customerId: ID!
tokenId: ID!
): Boolean!
Arguments
deleteCustomerPaymentMethod.customerId ● ID! non-null scalar
deleteCustomerPaymentMethod.tokenId ● ID! non-null scalar
Type
Boolean scalar
The Boolean scalar type represents true or false.
Was this page helpful?