GET
/
payment_methods
/
{payment_method}
Retrieve a Payment Method
curl --request GET \
  --url https://api.chargeapi.co/v1/payment_methods/{payment_method} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "object": "<string>",
  "bank_account": {
    "bank_name": "<string>",
    "country": "<string>",
    "currency": "<string>",
    "fingerprint": "<string>",
    "last4": "<string>",
    "status": "pending"
  },
  "billing_details": {
    "address": {
      "city": null,
      "country": null,
      "line1": null,
      "line2": null,
      "postal_code": null,
      "state": null
    },
    "email": null,
    "name": null,
    "phone": null
  },
  "card": {
    "brand": "<string>",
    "exp_month": 123,
    "exp_year": 123,
    "fingerprint": "<string>",
    "last4": "<string>"
  },
  "created": 123,
  "driver": "<string>",
  "fleet": "<string>",
  "type": "bank_account",
  "wallet": {
    "balance": 123,
    "currency": "<string>",
    "fingerprint": "<string>",
    "status": "active"
  }
}

Path Parameters

payment_method
string
required

The unique identifier for the Payment Method to retrieve.

Query Parameters

driver
string

If provided, the request is scoped to this driver. The API will only return the Payment Method if it belongs to the specified driver.

expand[]
string[]

Fields to expand in the response.

fleet
string

If provided, the request is scoped to this fleet. The API will only return the Payment Method if it belongs to the specified fleet.

Body

application/json · object

Response

Returns the Payment Method object.

A Payment Method object represents a saved way to pay for charging sessions, such as a credit card. It can be attached to a driver, a fleet, or an account and is used during session billing or reservation fees.