transactions

POST /v1/transactions/batch

Request

  • Base URL
    https://apibusiness-staging-civ.djamo.io
  • Auth
    HTTP bearer

Request body

Response

idstring required

Universal Unique Identifier for the object.

createdAtstring required

Date and time when the object was created. The API returns this value in ISO 8601 format.

updatedAtstring required

Date and time when the object was updated. The API returns this value in ISO 8601 format.

totalAmountinteger required

The total amount .

status'pending' | 'processing' | 'failed' | 'done' required

Status of the job

totalFeenumber required

Fee applied.

Example response

{
  "id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231",
  "createdAt": "2020-11-24T17:43:15.970Z",
  "updatedAt": "2020-11-24T17:43:15.970Z",
  "totalAmount": 5000,
  "status": "pending",
  "totalFee": 50,
  "transactions": [
    {
      "id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231",
      "createdAt": "2020-11-24T17:43:15.970Z",
      "updatedAt": "2020-11-24T17:43:15.970Z",
      "amount": 5000,
      "fee": 50,
      "totalAmount": 50,
      "status": "pending",
      "msisdn": "225079932203",
      "reference": "17f9956f-0965-4964-b2c1-40b4fef141a7",
      "failureReason": "There is no account associated with this number",
      "description": "July's salary",
      "type": "transfer",
      "batchId": "17f9956f-0965-4964-b2c1-40b4fef141a7",
      "metadata": {
        "senderAddress": "1 rue du jour, Abidjan",
        "recipientAddress": "2 rue de la nuit, Abidjan"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.