Skip to main content

Get Withdrawals

GET 

/v2/customers/:customerId/withdrawals

You can use this API to get the withdrawals for the current customer.

It returns the last 10 withdrwals by default.

Request

Path Parameters

    customerId stringrequired

    Customer Id.

Query Parameters

    merchantRefNum string

    Possible values: <= 255 characters

    This is the merchant reference number created by the merchant and submitted as part of the request. It must be unique for each request and allows cross referencing objects from merchant system.

    limit integer

    Possible values: >= 1 and <= 50

    Default value: 10

    This is the requested number of records to return. Max = 50. Default = 10.

    offset integer

    Default value: 0

    This is the requested starting position of the response entries, where 0 is the first record. Default = 0.

    slipId string

    Payment slip

Responses

OK

Schema

    withdrawals object[]

    meta

    object

    Contains paging information regarding the returned records, when response is paginated.

    The input for paginated query contains two parameters:

    • limit - This is the requested number of records to return. Defaults to 10 and maximum is 50.
    • offset - This is the requested starting position of the response, where 0 is the first record. Default = 0.

    Note! The total number of records is not returned, to prevent queries spanning on all records. If numberOfRecords<limit, this means no further pages are available. On request of offset beyond the last record, the returned numberOfRecords is 0.

    The number of previous pages can be calculated by dividing offset to limit.

    numberOfRecords integer

    This is the number of records returned in the lookup. Always numberOfRecords is smaller than or equal to limit.

    limit integer

    This is the requested number of records to be returned per page.

    offset integer

    This is the requested starting position of the response, where 0 is the first record.

    page integer

    This is the page of records on which the lookup starts. The starting page is 1.

Loading...