latestOpenAPI 3.0.12026-08-0852621.9 KB

9a5329a23c39

Referrals

Gets a referral by ID

Returns a referral object by ID if it exists.

get/v1/referrals/{id}

Path parameters

idstring required

Response

Success

idstring required

Unique identifier for the referral.

referral_signup_urlstring required

Signup URL to redirect prospects to complete their onboarding flow.

Note: Necessary disclosures must be shown when the prospect clicks on this link.

expires_atstring date-time required

The time at which this referral link expires.

customer_emailstring email nullable

Customer's email address registered for the Brex application. This field is available only if there's a signup completed.

status'UNCLAIMED' | 'EXPIRED' | 'ACTIVE' | 'CLOSED' required

Status of the referral. UNCLAIMED or EXPIRED unless the customer completes signup. Customers are attributed once ACTIVE until the account is CLOSED.

Example response

{
  "id": "a1b2c3d4e5f6g7",
  "referral_signup_url": "https://brex.com/signup?pref_token=a1b2c3d4e5f6g7"
}