curl --request POST \
--url https://api.next.orenda.finance/customers/{customerId}/accounts/{accountId}/payments/compliance-trigger \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"paymentRequestId": "fb2ce71e-fce7-44a0-a677-c7d69c3e40ab",
"action": "APPROVED"
}
'{
"success": true
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error_code": "VALIDATION_FAILED"
}{
"success": false,
"error_code": "Outgoing payment request already processed"
}Transaction-monitoring decision
Approve or reject a payment or incoming transaction held by transaction monitoring (compliance).
Auth: Backoffice role; requires the payments.create permission.
Provide exactly one of paymentRequestId (an outgoing payment request) or transactionId (an incoming transaction) — supplying both or neither is rejected as a validation error.
action: "APPROVED"lets the payment/transaction proceed (sets the underlying payment request toCOMPLETED).action: "REJECTED"blocks it (sets the underlying payment request toFAILED).
A decision can only be made once — a payment request or transaction already in a terminal monitoring state (REJECTED, APPROVED, APPROVING, PROCESSED) cannot be re-decided.
curl --request POST \
--url https://api.next.orenda.finance/customers/{customerId}/accounts/{accountId}/payments/compliance-trigger \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"paymentRequestId": "fb2ce71e-fce7-44a0-a677-c7d69c3e40ab",
"action": "APPROVED"
}
'{
"success": true
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error_code": "VALIDATION_FAILED"
}{
"success": false,
"error_code": "Outgoing payment request already processed"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the customer.
The unique identifier of the account.
Query Parameters
The program the request is scoped to. Required on every endpoint.
Body
Provide exactly one of paymentRequestId or transactionId.
The transaction-monitoring decision.
APPROVED, REJECTED Identifier of the outgoing payment request to decide on. Mutually exclusive with transactionId.
"fb2ce71e-fce7-44a0-a677-c7d69c3e40ab"
Identifier of the incoming transaction to decide on. Mutually exclusive with paymentRequestId.
"3a9d4c11-77b2-4e0a-9f1c-21d9b6f5a8e2"
Response
Decision recorded.
true