Report end state

POST /v1/transactions/{id}/report

Report your end state of a transaction. This is optional but highly recommended to improve the quality of the fraud detection. termination_reason can only be set if state is terminated.

Path parameters

  • id string Required

    transaction id

application/json

Body Required

  • state string Required

    Values are completed, terminated, or reconciled.

  • Values are quota, qualification, or quality.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
POST /v1/transactions/{id}/report
curl \
 -X POST https://api.fraud.ink/v1/transactions/{id}/report \
 -H "Content-Type: application/json" \
 -d '{"state":"completed","termination_reason":"quota"}'
Request examples
{
  "state": "completed",
  "termination_reason": "quota"
}
Response examples (200)
{
  "data": {}
}