API reference · Accounts & ledger

Transaction Approvals

GET Fetch a pending transaction approval

GET /transaction/approval/{approvalReference}

Full detail, including the level-by-level decision history.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
approvalReference

Example

Response: PendingTransactionApprovalResponse

curl -X GET "https://api.bridgemoni.com/transaction/approval/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Pending approval fetched successfully
404No pending approval exists for the given reference

POST Approve a pending transaction at its current level

POST /transaction/approval/{approvalReference}/approve

Records the session user's approval. If they are the last required level, the original transaction is posted immediately as part of this call.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
approvalReference

Example

Response: PendingTransactionApprovalResponse

curl -X POST "https://api.bridgemoni.com/transaction/approval/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/approve" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Approval recorded successfully
403The session user is not the designated approver for the current level
409This request is no longer awaiting approval

POST Reject a pending transaction at its current level

POST /transaction/approval/{approvalReference}/reject

Terminal - the request cannot be re-submitted or approved after this.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Content-Typeapplication/json

Path parameters

Name
approvalReference

Example

Response: PendingTransactionApprovalResponse

curl -X POST "https://api.bridgemoni.com/transaction/approval/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/reject" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Rejection recorded successfully
403The session user is not the designated approver for the current level
409This request is no longer awaiting approval

GET List pending transaction approvals awaiting the session user's decision

GET /transaction/approvals

Scoped entirely to the session user - only requests where they are the current level's designated approver are returned.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Query parameters

NameDefault
page0
size20

Example

Response: Pager<PendingTransactionApprovalResponse>

curl -X GET "https://api.bridgemoni.com/transaction/approvals?page=0&size=20" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Pending approvals fetched successfully

Generated from the OpenAPI document. Branch on the HTTP status: there is no machine-readable error code on the wire. Errors