View Limit Recipient
View Limit Recipient
GET
https://api.ocamba.com/v2/ocamba/limit-recipients/{id}
Retrieves the details of a Limit Recipient.Path parameters
parametersQuery parameters
parametersResponse schemas
›
200
application/json
›
500
application/json
curl -X GET \
"https://api.ocamba.com/v2/ocamba/limit-recipients/{id}" \
-H "Authorization: Bearer {TOKEN}"const url = 'https://api.ocamba.com/v2/ocamba/limit-recipients/{id}';
const options = {
method: 'GET',
headers: {
Authorization: `Bearer {TOKEN}`
}
};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}$ch = curl_init("https://api.ocamba.com/v2/ocamba/limit-recipients/{id}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Authorization: Bearer {TOKEN}"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);Responses
200 OK
{
"id": "[email protected]",
"company_id": "1000000",
"name": "John Doe",
"create_time": "2021-07-30 12:50:13",
"update_time": "2021-07-30 12:50:13"
}
500 Internal Server Error
{
"code": 500,
"title": "Internal server error.",
"message": "Internal server error."
}
Responses