NodeRings Docs

Remove Payment Method

Remove a payment method Validation: - Providers: Cannot remove if only one method exists (except on free plan) - Clients: Cannot remove if only one method exists - Cannot remove if payment method is currently in use for active subscriptions

DELETE
/v1/payment-methods/{paymentMethodId}
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Path Parameters

paymentMethodIdstring

Response Body

application/json

curl -X DELETE "https://api.nrings.io/v1/payment-methods/{paymentMethodId}" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}"
{
  "success": true
}