QorePay logo
QorePay logo

List all clients

GET

https://gate.qorepay.com/api/v1/clients/

Returns an array of all your clients

HEADER PARAMS

  • authorization

    String

    required

    Set value to BEARER SECRET_KEY

  • content-type

    String

    required

    Set value to JSON

RESPONSES

  • 200

    OK

Query

Body


const options = {
  method: 'GET',
  headers: {
    accept: 'application/json'
  }
};

fetch('https://gate.qorepay.com/api/v1/clients', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

Sample Response

JSON


{
  "results": [
    {
      "type": "string",
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_on": 1619740800,
      "updated_on": 1619740800,
      "bank_account": "string",
      "bank_code": "string",
      "email": "[email protected]",
      "phone": "+23445643564564",
      "full_name": "string",
      "personal_code": "string",
      "street_address": "string",
      "country": "NG",
      "city": "string",
      "zip_code": "string",
      "state": "string",
      "shipping_street_address": "string",
      "shipping_country": "st",
      "shipping_city": "string",
      "shipping_zip_code": "string",
      "shipping_state": "string", 
      "legal_name": "string",
      "brand_name": "string",
      "registration_number": "string",
      "tax_number": "string"
    }
  ],
  "next": "string",
  "previous": "string"
}