---
title: "The card on file that the next charge would use (or null)."
method: GET
path: "/api/v1/billing/payment-method"
tags: ["Billing"]
---

# The card on file that the next charge would use (or null).

`GET /api/v1/billing/payment-method`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/billing/payment-method`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Response `200`

OK

- PaymentMethodEnvelope
  - `payment_method` PaymentMethodResponse
    - `brand` string, required
    - `exp_month` integer, required
    - `exp_year` integer, required
    - `last4` string, required

## Other responses

- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/avatarfactory/apis/avatarfactory-api.md) · [All operations](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/revisions/66fc7aa3f296?raw)
