Skip to main content
POST
/
affiliates
/
billings
/
affiliates
/
invoicestable
Get All Invoices
curl --request POST \
  --url https://api.eflow.team/v1/affiliates/billings/affiliates/invoicestable \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "filters": {
    "affiliate_invoice_status": "unpaid"
  },
  "page": 1,
  "page_size": 50
}
'
{
  "invoices": [
    {
      "network_affiliate_invoice_id": 123,
      "affiliate_invoice_status": "<string>",
      "start_time": "2023-11-07T05:31:56Z",
      "end_time": "2023-11-07T05:31:56Z",
      "balance": 123,
      "billed": 123,
      "paid": 123,
      "payment_terms": "<string>",
      "currency_id": "<string>"
    }
  ],
  "paging": {
    "page": 123,
    "page_size": 123,
    "total_count": 123
  }
}

Authorizations

X-Eflow-Api-Key
string
header
required

The affiliate's API key generated from the Affiliate Portal. Uses the X-Eflow-Api-Key header.

Body

application/json
filters
object

Filter criteria for invoices.

page
integer
default:1

Page number (1-based).

page_size
integer
default:50

Number of results per page.

Response

200 - application/json

OK

invoices
object[]

Array of invoices.

paging
object