Joining Bonus
URL:
Method: POST
https://saasapi.igainapp.in/v1/joinbonus.php/joinbonus
Request Parameters
| Parameter | Type | Position | # | Description |
|---|---|---|---|---|
| Authorization | string |
Header |
Required |
Authorization is the Enrypted Company API KEY |
| membershipid | string |
Body |
Required |
Membership ID |
Sample Request Body
{
"membershipid":"1234567890"
}
Sample Request Response
{
"errorcode": 1001,
"message": "Ok",
"bonuspoints": 100
}
Error Codes
| Error Code | Description |
|---|---|
| 3121 | Required field(s) is missing or empty |
| 3110 | Sorry, unable procced to joining bonus |
| 3111 | Member already got joining bonus |
| 2003 | Unable to locate membership id |
| 1001 | OK |