payments
List payment history
get/admin/payments
Request
- Base URLhttps://api.goaffpro.com/v1
- URLhttps://api.goaffpro.com/v1/admin/payments
- AuthAPI key in header x-goaffpro-access-token
Query parameters
idstring
Retrieve only the payments specified by a comma-separated list of payment IDs
affiliate_idstring
Retrieve only the payments done to affiliates specified by a comma-separated list of affiliate IDs
created_at_maxstring
Show payments history created at or before date
created_at_minstring
Show payments history created at or after date
since_idstring
Show payments history after specified payment ID
limitnumber
Limit number of items in result
offsetnumber
Fetch results after this offset
fieldsstring[] required
Comma separated list of fields to return. See Affiliate Schema to get list of available fields
Response
Example response
{
"payments": [
{
"id": 1,
"affiliate_id": 1,
"amount": 100,
"payment_method": "paypal",
"payment_details": {
"paypal_email": "abc@paypal.com"
},
"admin_note": "Paid for the orders",
"affiliate_message": "Here is your payment",
"created_at": "Tue Nov 03 2026 07:14:03 GMT+0100 (Central European Standard Time)"
}
]
}Changes
No recorded changes to this operation across all 7 revisions of this API.