Update Collected Tax Payment
Update Collected Tax Payment.
Request
Request header:
PUT https://api.ipaymy.com/v2/payment_collections/collected_tax/:tax_id
Host: api.ipaymy.com
Accept: application/json
Path Parameters:
tax_id:
- Description: Unique collected tax payment id
- Type: number
Request body:
{
"tax_name": "",
"tax_rate": 0.0
}
tax_name:
- Type: string
- Validate: required
tax_rate:
- Type: number
- Validate: required
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.