Handle Admin Update Payout
Handle Admin Update Payout.
Request
Request header:
PUT https://api.ipaymy.com/v2/admin/payout_requests/:id
Host: api.ipaymy.com
Accept: application/json
Path Parameters:
id:
- Description: Unique payout request id
- Type: number
Request body:
{
"status": "",
"payment_type": ""
}
status:
- Type: string
- Value: approve | reject
payment_type:
- Type: string
- Value: AU | SG_USD
Response
Response body:
{
"data": "",
"error": 0
}
Response codes:
- 200: Good stuff, and the response body should be easy to parse.
- 422: Typically malformed JSON, such as an integer in place of the required alphanumeric string, or a missing key. Check the response body for further details.