Skip to content

PaymentSource.remove

POST /{namespace}/payment-sources/{paymentSource}/remove

Remove detaches a saved Payment Source so nothing charges it again, and keeps the record.

Mode
do
Event
PaymentSource.removed

Inputs

InputTypeRequiredDescription
paymentSourcePayment SourcerequiredThe saved Payment Source.

Outputs

OutputTypeRequiredDescription
paymentSourcePayment SourcerequiredThe removed Payment Source, kept on record.

Effects

  • Emits PaymentSource.removed.
  • Performed by the Billing Specialist.
  • Two-way: it runs at once, in the try, send and do modes.
  • When it was the default, the most recently added remaining Payment Source becomes the default.
  • With none left, the next charge Invoice fails into dunning, and the Customer is asked to add one.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.PaymentSource.remove

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.