User Mark Payment As Completed
User Mark Payment As Completed.
Request
Request header:
PUT https://api.ipaymy.com/v2/payment_collections/mark_as_complete
Host: api.ipaymy.com
Accept: application/json
Request body:
{
"payment_id": 0,
"payment_method": "",
"note_other": "",
"payout_date": ""
}
payment_id:
- Type: number
- Validate: required
payment_method:
- Type: string
- Validate: required
note_other:
- Type: boolean
payout_date:
- Type: time
- Example: 2024-01-01T00:00:00.000Z
- 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.