Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 2.9 KB

File metadata and controls

58 lines (40 loc) · 2.9 KB

Payouts

Overview

Available Operations

  • list - List all payouts

list

Retrieve a paginated list of payouts for your partner program.

Example Usage

from dub import Dub


with Dub(
    token="DUB_API_KEY",
) as d_client:

    res = d_client.payouts.list(request={
        "page": 1,
        "page_size": 50,
    })

    # Handle response
    print(res)

Parameters

Parameter Type Required Description
request operations.ListPayoutsRequest ✔️ The request object to use for the request.
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

List[operations.ListPayoutsResponseBody]

Errors

Error Type Status Code Content Type
errors.BadRequest 400 application/json
errors.Unauthorized 401 application/json
errors.Forbidden 403 application/json
errors.NotFound 404 application/json
errors.Conflict 409 application/json
errors.InviteExpired 410 application/json
errors.UnprocessableEntity 422 application/json
errors.RateLimitExceeded 429 application/json
errors.InternalServerError 500 application/json
errors.SDKError 4XX, 5XX */*