Get affiliate
Read one affiliate owned by the authenticated partner, including disabled profiles. Requires a server key; client keys are denied. The ID is trimmed and lowercased. No idempotency key is required.
GET
/
v1
/
affiliates
/
{affiliateId}
Get affiliate
curl --request GET \
--url https://orchestration.flashnet.xyz/v1/affiliates/{affiliateId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://orchestration.flashnet.xyz/v1/affiliates/{affiliateId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://orchestration.flashnet.xyz/v1/affiliates/{affiliateId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"affiliate": {
"affiliateId": "<string>",
"feeBps": 5000,
"payoutChain": "arbitrum",
"payoutAsset": "<string>",
"payoutAddress": "<string>",
"enabled": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"disabledAt": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Was this page helpful?
⌘I
Get affiliate
curl --request GET \
--url https://orchestration.flashnet.xyz/v1/affiliates/{affiliateId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://orchestration.flashnet.xyz/v1/affiliates/{affiliateId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://orchestration.flashnet.xyz/v1/affiliates/{affiliateId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"affiliate": {
"affiliateId": "<string>",
"feeBps": 5000,
"payoutChain": "arbitrum",
"payoutAsset": "<string>",
"payoutAddress": "<string>",
"enabled": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"disabledAt": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}