Retrieve your wallet transactions
Changed onRequired scope: wallet-transactions:read </br>Organization authorization: supported
Request
- Base URLhttps://partner-api.monta.com
- URLhttps://partner-api.monta.com/api/v1/wallet-transactions
- AuthHTTP bearer
Query parameters
page number to retrieve (starts with 0)
number of items per page (between 1 and 100, default 10)
Filter to retrieve transactions for a given operator.</br>*Note:*The operatorId must be in the consumer’s operatorIds or, if empty, belong to the organization’s sub-operators.</br>Note: When not provided the default operator will be used for the given consumer, if the default operator cannot be assigned the request will be rejected
Filter to retrieve transactions for a given team.</br>Note: When not provided the transactions for the operator will be returned instead
Filter to retrieve transactions where createdAt >= fromDate (ISO8601: yyyy-MM-ddTHH:mm:ssZ)
Filter to retrieve transactions where createdAt <= toDate (ISO8601: yyyy-MM-ddTHH:mm:ssZ)
Filter to retrieve transactions by the matching referenceId
**Note: This has been deprecated and won't do anything moving forward.**Filter transactions by partnerExternalId, to filter only resources without partnerExternalId use partnerExternalId=""
Response
List of wallet transactions that match the criteria
Example response
{
"data": [
{
"id": 1,
"fromAmount": 13.77,
"fromSubAmount": 11.02,
"fromVatAmount": 2.75,
"fromCurrency": {
"identifier": "dkk",
"name": "Danish krone",
"decimals": 2
},
"fromType": "team",
"from": {
"id": 14,
"name": "Monta",
"identifier": "monta",
"partnerId": 1,
"vatNumber": "FOO-123-ABC"
},
"fromWalletId": 1,
"toAmount": 13.77,
"toSubAmount": 11.02,
"toVatAmount": 2.75,
"toCurrency": {
"identifier": "dkk",
"name": "Danish krone",
"decimals": 2
},
"toType": "operator",
"to": {
"id": 14,
"name": "Monta",
"identifier": "monta",
"partnerId": 1,
"vatNumber": "FOO-123-ABC"
},
"toWalletId": 2,
"exchangeRate": 1,
"createdAt": "2022-04-22T09:47:05Z",
"updatedAt": "2022-04-22T09:47:05Z",
"completedAt": "2022-04-22T09:47:05Z",
"referenceId": "referenceId",
"kind": "charge-sponsored",
"vatPercentage": 25,
"note": "Test transaction.",
"partnerExternalId": "ACME-12345",
"metadata": {
"id": 1,
"kwh": 13.77
}
}
]
}Changes
- breaking
the
//response's property type changed fromarraytoobjectfor status - info
added to the
//response propertyallOflist for the response status - info
added to the
//response propertyallOflist for the response status - info
removed from the
//response propertyallOflist for the response status - info
removed from the
//response propertyallOflist for the response status - info
removed
subschema #2from the//response propertyallOflist for the response status - info
removed
subschema #2from the//response propertyallOflist for the response status
- breaking