Files
rust-mollie-sdk/docs/BalanceTransfersApiApi.md
Zomatree e738db98b9 init
2025-10-20 14:41:17 +01:00

5.5 KiB

\BalanceTransfersApiApi

All URIs are relative to https://api.mollie.com/v2

Method HTTP request Description
create_connect_balance_transfer POST /connect/balance-transfers Create a Connect balance transfer
get_connect_balance_transfer GET /connect/balance-transfers/{id} Get a Connect balance transfer
list_connect_balance_transfers GET /connect/balance-transfers List all Connect balance transfers

create_connect_balance_transfer

models::EntityBalanceTransferResponse create_connect_balance_transfer(idempotency_key, entity_balance_transfer) Create a Connect balance transfer

This API endpoint allows you to create a balance transfer from your organization's balance to a connected organization's balance, or vice versa. You can also create a balance transfer between two connected organizations. To create a balance transfer, you must be authenticated as the source organization, and the destination organization must be a connected organization that has authorized the balance-transfers.write scope for your organization.

Parameters

Name Type Description Required Notes
idempotency_key Option<String> A unique key to ensure idempotent requests. This key should be a UUID v4 string.
entity_balance_transfer Option<EntityBalanceTransfer>

Return type

models::EntityBalanceTransferResponse

Authorization

oAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/hal+json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_connect_balance_transfer

models::EntityBalanceTransferResponse get_connect_balance_transfer(id, testmode, idempotency_key) Get a Connect balance transfer

Retrieve a single Connect balance transfer object by its ID.

Parameters

Name Type Description Required Notes
id String Provide the ID of the item you want to perform this operation on. [required]
testmode Option<bool> Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true. Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
idempotency_key Option<String> A unique key to ensure idempotent requests. This key should be a UUID v4 string.

Return type

models::EntityBalanceTransferResponse

Authorization

oAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/hal+json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

list_connect_balance_transfers

models::ListConnectBalanceTransfers200Response list_connect_balance_transfers(from, limit, sort, testmode, idempotency_key) List all Connect balance transfers

Returns a paginated list of balance transfers associated with your organization. These may be a balance transfer that was received or sent from your balance, or a balance transfer that you initiated on behalf of your clients. If no balance transfers are available, the resulting array will be empty. This request should never throw an error.

Parameters

Name Type Description Required Notes
from Option<String> Provide an ID to start the result set from the item with the given ID and onwards. This allows you to paginate the result set.
limit Option<i32> The maximum number of items to return. Defaults to 50 items.
sort Option<String> Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from newest to oldest.
testmode Option<bool> Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter can be omitted. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true. Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
idempotency_key Option<String> A unique key to ensure idempotent requests. This key should be a UUID v4 string.

Return type

models::ListConnectBalanceTransfers200Response

Authorization

oAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/hal+json

[Back to top] [Back to API list] [Back to Model list] [Back to README]