GET
/
accounts
curl --request GET \
  --url https://api-sandbox.koywe.com/rest/accounts \
  --header 'Authorization: Bearer <token>'
{
  "email": "example@mail.com",
  "document": {
    "isCompany": true,
    "documentNumber": "<string>",
    "documentType": "<string>",
    "country": "<string>",
    "others": [
      {
        "documentNumber": "<string>",
        "documentType": "<string>",
        "country": "<string>"
      }
    ]
  },
  "address": {
    "addressCity": "<string>",
    "addressStreet": "<string>",
    "addressZipCode": "<string>",
    "addressCountry": "<string>",
    "addressState": "<string>",
    "addressNeighborhood": "<string>"
  },
  "personalInfo": {
    "names": "<string>",
    "firstLastname": "<string>",
    "secondLastname": "<string>",
    "activity": "<string>",
    "dob": "<string>",
    "phoneNumber": "<string>",
    "nationality": "<string>",
    "gender": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

documentNumber
string
required

Document number associated with the currency of choice.

documentType
string
required

Document type associated with the currency of choice.

country
string
required

Country associated with the currency of choice.

Response

200
application/json
successful operation
email
string
required
Example:

"example@mail.com"

document
object
required
address
object
required
personalInfo
object
required