curl --request GET \
  --url https://api.usepylon.com/accounts/{id} \
  --header 'Authorization: Bearer <token>'

Retrieve a specific customer account based on its ID.

id
string

The ID of the account.

Response

Example response

{
    "data": {
        "id": "22d1ba84-0d2e-4c33-92dc-01bb6c58be54",
        "name": "Stripe",
        "domain": "stripe.com",
        "owner": {
          "id": "d87494ba-a40d-4cb1-b478-faf1fc7de36d"
        }
    }
    "request_id": "ff94ff86-a755-4ebb-a16f-41aae732fc9c"
}