Logo
Brex Developer API Documentation

Gets a referral by ID

GET {{api_url}}/v1/referrals/:id

Referral response if successful

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "expires_at": "1954-10-19T14:33:34.147Z", "id": "non cillum fugiat", "products": [ { "cash": { "accounts": [ { "value": "<Error: Too many levels of nesting to fake this schema>" }, { "value": "<Error: Too many levels of nesting to fake this schema>" } ] } }, { "cash": { "accounts": [ { "value": "<Error: Too many levels of nesting to fake this schema>" }, { "value": "<Error: Too many levels of nesting to fake this schema>" } ] } } ], "referral_signup_url": "nostrud eiusmod in", "status": "CLOSED" }



Curl
curl -X GET 'api_url/v1/referrals/:id'

ENDPOINTS