Skip to main content
GET
/
billing
/
payment
/
methods
Get Payment Methods
curl --request GET \
  --url https://api.decodahealth.com/billing/payment/methods \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
[
  {
    "id": "<string>",
    "patientId": "<string>",
    "rainforestPaymentMethodId": "<string>",
    "brand": "<string>",
    "last4": "<string>",
    "expMonth": 123,
    "expYear": 123,
    "accountHolderType": "<string>",
    "accountNumberLast4": 123,
    "bankName": "<string>",
    "routingNumber": 123,
    "description": "<string>",
    "type": "CARD",
    "isDefault": false,
    "isArchived": false
  }
]

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Query Parameters

patient_id
string
required

Response

Successful Response

id
string
required
patientId
string | null
required
rainforestPaymentMethodId
string
required
brand
string | null
required
last4
string | null
required
expMonth
integer | null
required
expYear
integer | null
required
accountHolderType
string | null
required
accountNumberLast4
integer | null
required
bankName
string | null
required
routingNumber
integer | null
required
description
string | null
required
type
enum<string> | null
required
Available options:
CARD,
ACH,
APPLE_PAY
isDefault
boolean
default:false
isArchived
boolean
default:false