Get payer details
Request
Request header:
GET https://api.ipaymy.com/v2/payment_collections/payers/:payer_id/activity
Host: api.ipaymy.com
Accept: application/json
Authorization: Bearer your_access_token
Path Parameters:
payer_id:
- Description: Unique payer id from your list payers
- Type: number
Params:
from:
- Type: time
- Example: 2023-01-01T00:00:00.000Z
to:
- Type: time
- Example: 2024-01-01T00:00:00.000Z
Response
Response body:
[
{
"payer_id": 1663,
"account_id": 34596,
"payment_description": "INV - 000088",
"payment_status_id": 3,
"charge_date": "2023-07-07T09:32:57.402286Z",
"due_date": "2023-07-07T09:32:34.718Z"
},
{
"payer_id": 1663,
"account_id": 34596,
"payment_description": "INV - 000087",
"payment_status_id": 1,
"charge_date": "2023-07-07T09:31:41.953474Z",
"due_date": "2023-07-07T09:31:26.219Z"
}
]
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.