Register a referral link
Answers a `referrer` challenge by signature or memo and returns the address’s code and link: 201 the first time, then 200 with the same code. Burns through the link pay the address the service fee’s share slot (OQ-27), when it can receive.
/v1/referrersAnswers a referrer challenge by signature or memo and returns the address’s code and link: 201 the first time, then 200 with the same code. Burns through the link pay the address the service fee’s share slot (OQ-27), when it can receive.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/referrers" \ -H "Content-Type: application/json" \ -d '{ "challengeId": "challenge_01j3sa8pvcfp79z85hrb9y9xd6", "method": "signature", "signature": "string" }'{ "code": "7KQ2M9XA", "address": "AjvbmQHeBVSXXVAcUEXHWpDb7qyCAnpgVJUHaySBBYsV", "link": "https://example.com", "registeredAt": "2026-10-21T12:00:00.000Z", "canReceive": true, "minimumLamports": "2039280"}