Skip to main content
GET
/
accounts
/
{accountId}
/
details
/
{detailId}
Get account detail by ID
curl --request GET \
  --url https://api-dev.paygen.online/accounts/{accountId}/details/{detailId} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "<string>",
  "data": {
    "_id": "<string>",
    "type": "<string>",
    "details": {},
    "provider": "<string>",
    "isPrimary": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string
required
detailId
string
required

Response

200 - application/json

Account detail fetched successfully.

statusCode
integer
required
message
string
required
data
object