POST
/
api
/
service
/
merchant
/
payout
/
export
/
create

Authorizations

X-Ivy-Api-Key
string
header
required

Body

application/json
intervalEnd
number
required

Unix timestamp. The end of the timerange to create a Payout Report for.

intervalStart
number
required

Unix timestamp. The start of the timerange to create a Payout Report for.

currency
enum<string>

If provided, the report will be generated for this currency only. If not provided, the report will be generated for all currencies.

Available options:
EUR,
GBP,
PLN
webhookUrl
string

Optional URL of a webhook. If provided, the report, once generated, will be sent there in JSON format.

Response

200 - application/json
id
string
required

The unique identifier of the new Payout Report Object that was created.

status
string
required

Status of the Payout Report creation. This will be pending when the run is initially created. As soon as the report is created, this will be set to succeeded. Rarely, we may encounter an error, at which point this will be set to failed. See the guide to learn more.

fileUrl
string
deprecated