ClientId
and an API key – if you don’t have these, contact Sales to get access to the Mangopay DashboardKey | Type | Default value | Description |
---|---|---|---|
preproduction | boolean | false | Defines whether the SDK calls the Production or Sandbox endpoints. |
client_id | string | None | Your Mangopay ClientId – can be found in the Dashboard. |
client_apiKey | string | None | Your Mangopay API key – can be found in the Dashboard. |
http_timeout | int milliseconds | 30 | Specifies the amount of time until request failure because a chunk of data cannot be read. |
http_open_timeout | int milliseconds | 30 | Specifies the amount of time until request failure because a connection cannot be made. |
log_file | string | None | Enables logging. Results and responses are filtered so that confidential data is not saved in the log. |
uk_header_flag | boolean | false | Platforms that have contracted with Mangopay’s UK entity (MANGOPAY U.K. LIMITED) must include the following header in all requests. If you’re using an SDK, you need to set it to true . |
add_config
method to add the new configuration:
get_config
and apply_configuration
methods:
page
and per_page
keys.
As a result, the answer will be paginated, and the total number of items and the total number of pages will be provided.