Billing

Set a saved card as the default for charges

Changed on

Makes a saved card the org's default for off-session charges (deposits and auto-recharge). Another org's card, or one not yet settled as saved, returns 404.

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

post/v1/orgs/{orgId}/billing/payment-methods/{paymentMethodId}/default

Request

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

Path parameters

orgIdstring required
paymentMethodIdstring required

Response

Default updated

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