API Postbacks

Last updated 2 months ago

Describes postbacks to the Cashcat on approved conversions or rejects

Use case

  1. Lender needs to send postback in such cases:

    1. Positive decision

    2. Negative decision

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

get
Postback from Lender

https://cashcat.tld/
postback/lender-name/?request_id=xxxxxxxxxxx
Endpoint fork with GET requests only Use endpoint URL only from affiliate section of requests
Request
Response
Query Parameters
request_id
required
string
request id parameter from affiliate object from Lead
200: OK
{
"status": "OK",
"message": "postback accepted"
}
​
404: Not Found
{
"status": "ERROR",
"message": "wrong request_id parameter",
"code": 404
}
500: Internal Server Error
{
"status": "ERROR",
"message": "internal application error",
"status": 500
}

Example

GET https://cashcat.com.ua/postback/lender-name/?request_id=nxskfnie8w
​
Response:
{
"status": "OK",
"message": "postback accepted"
}

Retries

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