Billing

Remove a saved card

Changed on

Detaches a saved card from the org. Removing the default card clears the default, so no charge goes to it. A card that is not the org's returns 404.

Requires the billing.manage permission. See Permissions for the roles and API key permissions that include it.

delete/v1/orgs/{orgId}/billing/payment-methods/{paymentMethodId}

Request

  • Base URL
    https://api.openrelay.inc
  • URL
    https://api.openrelay.inc/v1/orgs/{orgId}/billing/payment-methods/{paymentMethodId}
  • Auth
    HTTP bearer

Path parameters

orgIdstring required
paymentMethodIdstring required

Response

Removed

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status