Skip to content

Endpoint ​

  • Method: GET
  • Path: /payouts/{id}/transactions-export
  • Edition: Core
  • Controller: PayoutController@getExportableTransactions
  • Route source: app/Http/Routes/api.php
  • Access: PayoutPolicy — manage_options, or read_all_payouts, manage_all_payouts or manage_all_data.

GET Export Payout Transactions​

GET
/payouts/{id}/transactions-export

Export payout transactions as CSV rows. Pass format=paypal to get rows for a PayPal Payouts upload file instead (email, amount, currency), with the amount formatted for the payout currency (whole units for HUF, JPY and TWD; decimal comma for EUR and BRL). A payout sent through a payment gateway cannot be exported in the PayPal format.

Controller: PayoutController@getExportableTransactions
Route source: app/Http/Routes/api.php

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Parameters​

Path Parameters

id*

The id.

Type
integer
Required

Query Parameters

per_page

Number of items per page.

Type
integer
Default
15
page

Page number (1-based).

Type
integer
Default
1
search

Search query string.

Type
string
status

Filter by status.

Type
string

Responses​

Successful response

application/json
JSON
{
"transactions": [
{
"affiliate_id": 0,
"affiliate_name": "string",
"email": "string",
"payout_email": "string",
"amount": "90.90",
"currency": "string"
}
],
"rows": [
{
"email": "string",
"amount": "string",
"currency": "string"
}
],
"skipped": [
"string"
],
"limited": true,
"total": 0
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

FluentAffiliate developer documentation