Billing

List payment methods.

Changed on

Returns all payment methods attached to your account, including type, display name, card details, and which is the default.

get/api/v1/billing/payment-methods

Request

Response

Returns all payment methods attached to the account.

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "data": {
    "paymentMethods": [
      {
        "type": "card",
        "name": "VISA •••• 4242",
        "isDefault": true
      }
    ],
    "defaultPaymentMethod": {
      "type": "card",
      "name": "VISA •••• 4242",
      "isDefault": true
    }
  }
}

Changes