# referredSignups

query · in the family [Billing and the wallet](/reference/billing-and-the-wallet/)

## What it does

Your referred businesses and where each stands — every signup that used your referral code, with its standing (awaiting approval, approved, or not approved) and when it joined; earning begins after AlmondTill approves a referral, and you are told either way.

The caller group's OWN referral roster: every business that signed up with your referral code, NEWEST-first, with its code, its standing (pending | approved | denied — derived from the referred group's own record, the one source of truth), when it joined and when it was decided. The optional status filter narrows to one standing (pending | approved | denied — any other word refuses VALIDATION/INVALID; absent = every referred signup). SELF-group BY KEY CONSTRUCTION; a group that referred nobody answers. Earning begins at the next billing cycle AFTER approval — months that pass while pending never accrue; a denied referral never earns; the referred business's own discount rides from birth regardless; every decision also reaches your owners as a notice + a mail. Requires authentication. Template class A16_BILLING (hand-derived v96).

## What happens

Reads only.

## Who may call it

Capability area: **Billing and the wallet** — Your platform bill, token purchases and the usage and cost reads.

- Owner
- Manager
- Associate Manager
- An API key whose scope allows `api:referredSignups`

## Arguments

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `status` | [String](/types/#scalars) | no | No further notes. |

## Returns

[ReferredSignup](/types/ReferredSignup/) `[ReferredSignup!]!` — One referred signup on YOUR referral code and where it stands.

## Example request

```graphql
query ExampleReferredSignups($status: String) {
  referredSignups(status: $status) {
    referredOrgGroupId
    referredGroupCode
    standing
    createdAt
    decidedAt
  }
}
```

Variables:

```json
{
  "status": "<status>"
}
```

## Example response

```json
{
  "data": {
    "referredSignups": [
      {
        "referredOrgGroupId": "01900000-0000-7000-8000-8aec69300000",
        "referredGroupCode": "BJ-001",
        "standing": "<standing>",
        "createdAt": "2027-01-31T00:00:00.000Z",
        "decidedAt": "2027-01-31T00:00:00.000Z"
      }
    ]
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": null,
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```

## Errors this call can answer

- `VALIDATION/INVALID` — Something in the request is not valid. ([VALIDATION](/errors/VALIDATION/))
- `AUTHN/REQUIRED` — Sign in to do this. ([AUTHN](/errors/AUTHN/))
- `AUTHZ/FORBIDDEN` — Your role does not allow this action. ([AUTHZ](/errors/AUTHZ/))
- `RATE_LIMIT/THROTTLED` — Too many requests in a short time. ([RATE_LIMIT](/errors/RATE_LIMIT/))
