Transaction APIs

Manage and query transactions.

Endpoints

POST /v1/accounts/{branch}/{account}/batches

Add transactions to an account. This request approves or declines transactions as a group.

Parameters

branch
string
The account branch. Set to 0 if no branch number.
account
string
The account number or unique identifier.
body
object
Batch transaction data

Response

{
  "batchId": "string",
  "status": "PROCESSED",
  "transactions": [
    {
      "transactionId": "string",
      "status": "APPROVED",
      "amount": {
        "value": 1000,
        "currency": "USD"
      }
    }
  ]
}
GET /v1/accounts/{branch}/{account}/entries

Retrieve account entries with transaction details.

Parameters

branch
string
The account branch
account
string
The account number

Response

{
  "entries": [
    {
      "entryId": "string",
      "amount": {
        "value": 500,
        "currency": "USD"
      },
      "description": "string",
      "entryDate": "2024-01-01",
      "type": "DEBIT"
    }
  ]
}
POST /v1/accounts/{branch}/{account}/monitorings

Set up monitoring service for an account.

Parameters

branch
string
The account branch
account
string
The account number
body
object
Monitoring configuration

Response

{
  "monitoringId": "string",
  "status": "ACTIVE",
  "accountKey": "string",
  "configuration": {
    "threshold": {
      "value": 10000,
      "currency": "USD"
    }
  },
  "createdAt": "2024-01-01T10:00:00Z"
}