API Postbacks

Describes postbacks to the Cashcat on approved conversions or rejects

Use case

  1. Lender needs to send the postbacks in such cases:

    1. Pending loan application (accepted or rejected postback will be sent later)

    2. Accepted loan application

    3. Rejected loan application

  2. Cashcat works on Cost-Per-Lead or Cost-Per-Sale model and bills Lender for accepted Leads on a monthly basis.

get
Postbacks from Lender

https://cashcat.ph/postback/lender_id/?request_id=xxxxxxxxxxx&status=pending
Endpoint works with GET requests only
Request
Response
Path Parameters
status
required
string
Postback status. It could be: accepted , pending , rejected
request_id
required
string
request_id parameter from affiliate object, please, check previous article for more information: https://developer.cashcat.ph/docs/api-traffic/api-traffic#affiliate
200: OK
{
"status": "OK",
"message": "postback accepted"
}
​
302: Found
​
304: Not Modified
​
404: Not Found
{
"status": "ERROR",
"message": "wrong request_id parameter",
"code": 404
}

Statuses

status

Description

approved

Loan application was approved

rejected

Loan application was rejected

pending

Lender can't made an automated decision and promise to send approved or rejected in the future

Where to find a proper postback URL?

Use endpoint URL from affiliate section of submitted application, postback_url parameter https://developer.cashcat.ph/docs/api-traffic/api-traffic#affiliate​

Example

Example of the GET request to one of the Cashcat's websites
GET https://cashcat.com.ua/postback/online_lender_company/?request_id=vc7z8pz149q46hy1&status=accepted

Retries

It's good practice to implement guaranteed postback mechanism to send postbacks to Cashcat with interval if you got unsuccessful http response code.

​