Referrals

Recover pending referral credit grants

Retries referral rewards whose credits were not marked as granted. Billing grants are keyed so retries do not double-credit users.

post/admin/referrals/recover

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/admin/referrals/recover
  • Auth: API key in header x-api-key

Query parameters

limitinteger

Maximum pending rewards to retry, capped at 200

Headers

x-api-keystring required

Admin API key

Response

Recovery summary

attemptedinteger
errorsstring[]
recoveredinteger

Example response

{
  "attempted": 3,
  "errors": [
    "reward-3: temporary billing write failure"
  ],
  "recovered": 2
}

Changes

No recorded changes to this operation across all 2 revisions of this API.