Mono Colombia

Gets an account transaction detail

Gets an account transaction detail

GET
/v1/ledger/accounts/{account_id}/transactions/{id}

Authorization

authorization

AuthorizationBearer <token>

In: header

Path Parameters

account_idstring

Account ID that belongs to the tenant

Match^[A-Za-z]{2,6}_[\w-]{22}$
Example"lacc_5tgliBmzjZ6mpQPRbQjfKj"
idstring

Transaction ID that belongs to the account

Match^[A-Za-z]{2,6}_[\w-]{22}$
Example"ltx_5tgliBmzjZ6mpQPRbQjfKj"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.cert.monoban.co/v1/ledger/accounts/lacc_5tgliBmzjZ6mpQPRbQjfKj/transactions/ltx_5tgliBmzjZ6mpQPRbQjfKj"

{
  "amount": {
    "amount": 100000000,
    "currency": "COP"
  },
  "description": "Purchase on ABC Commerce",
  "details": {
    "fx_rate": "4000.00",
    "id": "cpp_5tgliBmzjZ6mpQPRbQjfKj",
    "paid_at": "1941-09-09"
  },
  "id": "ltx_5tgliBmzjZ6mpQPRbQjfKj",
  "id_in_origin": "cpp_5tgliBmzjZ6mpQPRbQjfKj",
  "operation_type": "debit",
  "origin": "card_presentment_payment",
  "origin_transaction_at": "2022-01-01T01:00:00Z",
  "reverted_by_id": "ltx_5tgliBmzjZ6mpQPRbQjfKj",
  "reverts_id": "ltx_5tgliBmzjZ6mpQPRbQjfKj",
  "transaction_at": "2022-01-01T01:00:00Z"
}

{
  "code": "400 Bad Request",
  "errors": [
    {
      "error_code": "validation_error",
      "message": "Generic changeset errors",
      "path": null,
      "url": null
    }
  ],
  "id": "log_7MkWaFqvfosB8fzHhb1Eql",
  "message": "Malformed request"
}
{
  "code": "401 Unauthorized",
  "errors": [
    {
      "error_code": "expired_token",
      "message": "The token is expired, inactive, or doesn't exist.",
      "path": null,
      "url": null
    }
  ],
  "id": "log_7MkWaFqvfosB8fzHhb1Eql",
  "message": "Authorization header is missing or invalid."
}
{
  "code": "403 Forbidden",
  "errors": [
    {
      "error_code": "not_authorized",
      "message": "Not authorized to have access to this resource.",
      "path": null,
      "url": null
    }
  ],
  "id": "log_7MkWaFqvfosB8fzHhb1Eql",
  "message": "Not authorized to have access to this resource"
}
{
  "code": "422 Unprocessable Entity",
  "errors": [
    {
      "error_code": "missing_field",
      "message": "The field is missing on the request body or parameters.",
      "path": "#/path/to/field",
      "url": null
    }
  ],
  "id": "log_7MkWaFqvfosB8fzHhb1Eql",
  "message": "Validation errors"
}