runs
paid-invocations

Claim what a purchase a purchaser key owns holds

The purchaser key signs runx.payment.purchase_claim.v1 over this URL, the time and the digest of the purchase's receipt, so a purchase claims nothing before it is fulfilled. An account's purchase is used through runx and never claimed.

post/v1/purchases/{id}/claim

Request

  • Base URL: https://api.runx.ai
  • URL: https://api.runx.ai/v1/purchases/{id}/claim
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Runx-Purchaser-Key

Path parameters

idstring required

Purchase id: the paid invocation id.

Request body

claim_urlstring required
issued_atstring required
receipt_digeststring required
signaturestring required

Response

What the purchase holds now, with its fields.

status'claimed' required

Changes

No recorded changes to this operation across all 1 revision of this API.