Get a client by ID
https://gate.qorepay.com/api/v1/clients/{ID}
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
PATH PARAMS
id
string
required
Client ID
RESPONSES
200
OK
Query
Body
const options = {
method: 'GET',
headers: {
accept: 'application/json'
}
};
fetch('https://gate.qorepay.com/api/v1/clients/{ID}', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Sample Response
JSON
{
"type": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_on": 1619740800,
"updated_on": 1619740800,
"bank_account": "string",
"bank_code": "string",
"email": "[email protected]",
"phone": "+44 45643564564",
"full_name": "string",
"personal_code": "string",
"street_address": "string",
"country": "st",
"city": "string",
"zip_code": "string",
"state": "string",
"shipping_street_address": "string",
"shipping_country": "st",
"shipping_city": "string",
"shipping_zip_code": "string",
"shipping_state": "string",
"cc": [
"[email protected]"
],
"bcc": [
"[email protected]"
],
"legal_name": "string",
"brand_name": "string",
"registration_number": "string",
"tax_number": "string"
}