Invincible Pay
Claims

Create claim

Claim an incoming transfer into the customer's own wallet (the logged-in customer, or the owner of the API key). A claim that does not match is still a 200: check success, and limit for the attempts left or the cooldown it started.

POST
/v1/claims

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.invinciblepay.com/v1/claims" \  -H "Content-Type: application/json" \  -d '{    "claimType": "etransfer",    "method": "reference"  }'
{
  "canSave": true,
  "claimId": "string",
  "limit": {
    "attemptsLeft": 0,
    "claimType": "etransfer",
    "lockedUntil": 0,
    "maxAttempts": 0,
    "resetsAt": 0
  },
  "message": "string",
  "success": true
}
{
  "error": "string",
  "error_code": {}
}
{
  "error": "string",
  "error_code": {}
}
{
  "error": "string",
  "error_code": {}
}
{
  "error": "string",
  "error_code": {}
}