Ledger(1.0.0)
    Ledger(1.0.0)
    • Test Endpoint
      POST

      Test Endpoint

      Developing
      POST
      /admin/v1/transaction/{txnType}
      Logs the transaction into ledger for the supplied Txn Type

      Request

      Path Params

      Body Params application/json

      Examples

      Responses

      🟢200Success
      This response does not have a body.
      🟠400Bad Request
      🟠400Forbidden
      🔴500Server Error
      🟠400ValidationError
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/admin/v1/transaction/payment' \
      --header 'Content-Type: application/json' \
      --data-raw '"string"'
      Response Response Example
      400 - Example 1
      {
          "code": "VALIDATION_ERROR",
          "message": "Validation failed for request",
          "details": [
              {
                  "field": "accountNumber",
                  "message": "must not be blank"
              }
          ]
      }
      Modified at 2025-09-23 05:29:18
      Built with