Referral
List referral payout batches
GET
/
v1
/
referral
/
admin
/
payouts
List referral payout batches
curl --request GET \
--url https://api.wazapin.com/v1/referral/admin/payoutsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/referral/admin/payouts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/referral/admin/payouts"
response = requests.get(url)
print(response.text){
"items": [
{
"commission_count": 123,
"created_at": "<string>",
"id": "<string>",
"status": "<string>",
"total_amount_idr": 123,
"notes": "<string>",
"paid_at": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Response
OK
Show child attributes
Show child attributes
⌘I
List referral payout batches
curl --request GET \
--url https://api.wazapin.com/v1/referral/admin/payoutsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/referral/admin/payouts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/referral/admin/payouts"
response = requests.get(url)
print(response.text){
"items": [
{
"commission_count": 123,
"created_at": "<string>",
"id": "<string>",
"status": "<string>",
"total_amount_idr": 123,
"notes": "<string>",
"paid_at": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}