Block a customer
curl --request POST \
--url https://api.next.orenda.finance/customers/{customerId}/block \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "Suspected fraudulent activity reported by the customer."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: 'Suspected fraudulent activity reported by the customer.'})
};
fetch('https://api.next.orenda.finance/customers/{customerId}/block', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.next.orenda.finance/customers/{customerId}/block"
payload = { "reason": "Suspected fraudulent activity reported by the customer." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"customerId": "c1a2b3c4-5d6e-7f80-91a2-b3c4d5e6f708",
"status": "BLOCKED",
"reason": "Suspected fraudulent activity reported by the customer.",
"updatedAt": "2026-06-29T18:24:05.000Z"
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}Customers
Block a customer
Blocks a customer from the back office. The customer is prevented from transacting until they are unblocked. The supplied reason is stored on the customer’s status history for audit. Reversible with Unblock a customer.
POST
/
customers
/
{customerId}
/
block
Block a customer
curl --request POST \
--url https://api.next.orenda.finance/customers/{customerId}/block \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "Suspected fraudulent activity reported by the customer."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: 'Suspected fraudulent activity reported by the customer.'})
};
fetch('https://api.next.orenda.finance/customers/{customerId}/block', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.next.orenda.finance/customers/{customerId}/block"
payload = { "reason": "Suspected fraudulent activity reported by the customer." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"customerId": "c1a2b3c4-5d6e-7f80-91a2-b3c4d5e6f708",
"status": "BLOCKED",
"reason": "Suspected fraudulent activity reported by the customer.",
"updatedAt": "2026-06-29T18:24:05.000Z"
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "The request could not be processed. Check the request parameters and body and try again."
}
}Authorizations
The back-office user's access token.
Path Parameters
The customer's ID.
Query Parameters
The program the customer/account belongs to. Required on every request.
Body
application/json
Why the status is changing — stored on the customer's or account's status history for audit.
Minimum string length:
1Response
The customer was blocked.
Standard mutation envelope. Additional fields may be present depending on the operation.
Example:
true
⌘I