Skip to main content
GET
/
api
/
accounts
/
{id}
/
payment-method
cURL
curl --request GET \
  --url https://api.recoupable.com/api/accounts/{id}/payment-method \
  --header 'x-api-key: <api-key>'
{
  "account_id": "550e8400-e29b-41d4-a716-446655440000",
  "card": {
    "brand": "visa",
    "last4": "4242",
    "exp_month": 12,
    "exp_year": 2026,
    "funding": "credit"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.recoupable.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Your Recoup API key. Learn more.

Path Parameters

id
string<uuid>
required

The unique identifier (UUID) of the account. Must be the authenticated account or another accessible via organization membership.

Response

Default payment method retrieved successfully (may be null if none on file).

account_id
string<uuid>
required

The unique identifier of the account this payment method belongs to.

Example:

"550e8400-e29b-41d4-a716-446655440000"

card
object
required

Default card on file. null when the account has never saved a payment method — the top-up flow will route through a checkout session in that case.