GET
/
accounts
/
movements-balance
/
{accountID}
curl --request GET \
  --url https://api-sandbox.koywe.com/rest/accounts/movements-balance/{accountID} \
  --header 'Authorization: Bearer <token>'
{
  "allMovements": [
    {
      "orderId": "d219960c-6244-41ea-9db1-0655fa724c6f",
      "transactionStatus": "DELIVERED",
      "amount": 82185,
      "currencySymbol": "CLP",
      "cryptoSymbol": "USDC Polygon",
      "exchangeRate": 803,
      "localCurrencyConversion": 101.347063,
      "dates": {
        "orderedDate": "2023-07-06T13:52:35.134Z",
        "payedDate": "2023-07-06T14:00:11.943Z",
        "transactionDate": "2023-07-06T14:00:20.754Z",
        "deliveredDate": "2023-07-06T14:11:29.719Z",
        "_id": "64a6c723b67c262341bc705d"
      },
      "paymentMethod": "KHIPU",
      "invoiceLink": "https://invoice.koywe.com/api/invoices/pdf/d219960c-6244-41ea-9db1-0655fa724c6f",
      "txhash": "0xbe97c2ef9838f429701ab58134ea22215a9a612b723b3f83c54635c224083500"
    }
  ],
  "balances": [
    {
      "_id": "64a6c677ca3d967f1760eb9a",
      "accountId": "64a6c358683529b844a3f03d",
      "currencySymbol": "CLP",
      "countryCode": "CHL",
      "totalBalance": 0,
      "description": "balance: alvaroescalonacastillo@gmail.com",
      "retries": null,
      "createdAt": "2023-07-06T13:49:43.067Z",
      "updatedAt": "2023-07-06T13:49:43.067Z",
      "__v": 0
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountID
string
required

accountID associated with the user

Query Parameters

email
string

Optional email parameter to filter the data

Response

200
application/json
successful operation
allMovements
object[]
required
balances
object[]
required