List primary balance transactions

Balances API v2
GEThttps://api.mollie.com/v2/balances/primary/transactions

With the List primary balance transactions endpoint you can retrieve a list of all the movements on your primary balance. This includes payments, refunds, chargebacks, and settlements.

This endpoint is an alias of the List balance transactions.

Parameters

fromstringoptional
Offset the result set to the balance transactions with this ID. The balance transaction with this ID is included in the result set as well.
limitintegeroptional
The number of balance transactions to return (with a maximum of 250).

Response

200 application/hal+json

For the full list of fields, see List balance transactions. Only _links is listed here.

_linksobject

Links to help navigate through the lists of balance transactions. Every URL object will contain an href and a type field.

Show child parameters

selfURL object
The URL to the current set of balance transactions.
previousURL object
The previous set of balance transactions, if available.
nextURL object
The next set of balance transactions, if available.
documentationURL object
The URL to the balance transactions list endpoint documentation.

Example

Request

cURLPHPPythonRubyNode.js
1
2
curl -X GET https://api.mollie.com/v2/balances/primary/transactions?limit=5 \
    -H "Authorization: Bearer access_vR6naacwfSpfaT5CUwNTdV5KsVPJTNjURkgBPdvW"
1
2
3
4
5
6
<?php
$mollie = new \Mollie\Api\MollieApiClient();
$mollie->setAccessToken("access_vR6naacwfSpfaT5CUwNTdV5KsVPJTNjURkgBPdvW");
$balanceTransactions = $mollie->balanceTransactions->listForPrimary([
   "limit" => 5,
]);
1
2
3
4
We don't have a Python code example for this API call yet.

If you have some time to spare, feel free to share suggestions on our Discord:
https://discord.gg/VaTVkXB4aQ
1
2
3
4
We don't have a Ruby code example for this API call yet.

If you have some time to spare, feel free to share suggestions on our Discord:
https://discord.gg/VaTVkXB4aQ
1
2
3
4
We don't have a Node.js code example for this API call yet.

If you have some time to spare, feel free to share suggestions on our Discord:
https://discord.gg/VaTVkXB4aQ

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
HTTP/1.1 200 OK
Content-Type: application/hal+json

{
  "count": 5,
  "_embedded": {
    "balance_transactions": [
       {
         "resource": "balance_transaction",
         "id": "baltr_QM24QwzUWR4ev4Xfgyt29A",
         "type": "refund",
         "resultAmount": {
           "value": "-10.25",
           "currency": "EUR"
         },
         "initialAmount": {
           "value": "-10.00",
           "currency": "EUR"
         },
         "deductions": {
           "value": "-0.25",
           "currency": "EUR"
         },
         "createdAt": "2021-01-10T12:06:28+00:00",
         "context": {
           "paymentId": "tr_7UhSN1zuXS",
           "refundId": "re_4qqhO89gsT"
         }
       },
       {
         "resource": "balance_transaction",
         "id": "baltr_QM24QwzUWR4ev4Xfgyt29B",
         "type": "payment",
         "resultAmount": {
           "value": "9.71",
           "currency": "EUR"
         },
         "initialAmount": {
           "value": "10.00",
           "currency": "EUR"
         },
         "deductions": {
           "value": "-0.29",
           "currency": "EUR"
         },
         "createdAt": "2021-01-10T12:06:28+00:00",
         "context": {
           "paymentId": "tr_7UhSN1zuXS"
         }
       }
    ]
  },
  "_links": {
    "documentation": {
      "href": "https://docs.mollie.com/reference/v2/balances-api/list-primary-balance-transactions",
      "type": "text/html"
    },
    "self": {
      "href": "https://api.mollie.com/v2/balances/primary/transactions?limit=5",
      "type": "application/hal+json"
    },
    "previous": null,
    "next": null
  }
}