Skip to main content
GET
/
referrals
/
businesses
/
{id}
/
earnings
List a business referral's earnings
curl --request GET \
  --url https://{defaultHost}/referrals/businesses/{id}/earnings \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "object": "business_referral_earning",
      "id": "<string>",
      "account": {
        "id": "<string>",
        "title": "<string>",
        "logo_url": "<string>",
        "route": "<string>"
      },
      "access_pass": {
        "id": "<string>",
        "title": "<string>",
        "route": "<string>"
      },
      "amount": 123,
      "base_amount": 123,
      "currency": "<string>",
      "payout_percentage": 123,
      "cancelation_reason": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "payout_at": "2023-11-07T05:31:56Z",
      "receipt": {
        "id": "<string>",
        "currency": "<string>",
        "payment_method_type": "<string>",
        "processor": "<string>",
        "brand": "<string>",
        "last4": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "alternative_payment_method": {
          "name": "<string>",
          "image_url": "<string>"
        },
        "amount_after_fees": 123,
        "receipt_fees": [
          {
            "label": "<string>",
            "description": "<string>",
            "value": "<string>",
            "type_of_fee": "<string>",
            "raw_amount": 123,
            "currency": "<string>",
            "specific_fee_origin": "<string>"
          }
        ]
      }
    }
  ],
  "page_info": {
    "has_next_page": true,
    "end_cursor": "<string>",
    "has_previous_page": true,
    "start_cursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

An account API key, account scoped JWT, app API key, or user OAuth token.

Headers

Api-Version-Date
string<date>

Pins the request to a dated API version. When omitted, the request uses the original (2025-01-01) request/response shapes, so existing unversioned callers are never broken. Generated SDKs always send the latest version they were built against. An unrecognized value is rejected with a 400. The schemas documented here always describe the latest version.

Example:

"2026-06-09"

Path Parameters

id
string
required

The business referral ID (a coma_ identifier).

Query Parameters

status
enum<string>

Filter by earning status.

Available options:
awaiting_settlement,
pending,
completed,
canceled,
reversed
first
integer
default:20
Required range: x <= 100
after
string
last
integer
Required range: x <= 100
before
string
include
enum<string>

Comma-separated extras to embed. Supported: receipt_fees (adds amount_after_fees and the receipt_fees breakdown).

Available options:
receipt_fees
sort
enum<string>
default:created_at

Field to sort earnings by.

Available options:
created_at,
amount,
payout_at
order
enum<string>
default:desc

Sort direction.

Available options:
asc,
desc

Response

earnings sorted by amount

data
object[]
required
page_info
object
required