Affiliates

Affiliate payout batches (crypto payout invoices and PayPal Payouts)

GET
/v1/stores/{storeId}/affiliates/payout-batches

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
perPage?integer
Range1 <= value <= 100
Default20

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/affiliates/payout-batches"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "number": -9007199254740991,      "kind": "crypto",      "status": "awaiting_payment",      "currency": "string",      "amountMinor": -9007199254740991,      "itemCount": -9007199254740991,      "asset": "string",      "orderId": "b3e1eced-f2bd-4d8c-9765-fbc9d1d222d5",      "providerBatchId": "string",      "providerStatus": "string",      "scheduled": true,      "lastError": "string",      "createdAt": "string",      "completedAt": "string"    }  ],  "pagination": {    "page": -9007199254740991,    "perPage": -9007199254740991,    "total": -9007199254740991  }}