Wallet Transactions
Post an operator adjustment transaction
Changed onOperator creates an adjustment transaction. Required scope: wallet-transaction:write
post/api/v1/wallet-transactions/operator-adjustment-transaction
Request
- Base URLhttps://partner-api.monta.com
- URLhttps://partner-api.monta.com/api/v1/wallet-transactions/operator-adjustment-transaction
- AuthHTTP bearer
Request body
Example request
{
"fromWalletId": 1,
"toWalletId": 2,
"note": "Adjustment for user 12345",
"amount": 13.77,
"partnerExternalId": "ACME-12345"
}Response
Operator adjustment transaction created
Example response
{
"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
request property type changed fromarraytoobject - info
added the media type
application/jsonfor the response with the status
- breaking