---
title: "Payment Receipt Route"
method: POST
path: "/payment-receipt"
tags: ["execution"]
---

# Payment Receipt Route

`POST /payment-receipt`

## Request

- Base URL: `https://api.babyblueviper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.babyblueviper.com/payment-receipt`
- Auth: none required

FREE, no-auth: a BIP-340-signed payment receipt for one verdict-governed EIP-3009 payment (services/payment_receipt.py).

Body: {event: the signed /review verdict, args: the payment args it bound, tx_hash?: the settlement tx,
resource_url?, max_verdict_age_seconds?, terms_hash?, authorization_signature?: the payer's EIP-3009 signature (verified
against the bound fields and the token's on-chain EIP-712 domain), output_hash?: sha256 of the delivered result, accepted?/resource?: the x402 accepted requirement and resource objects -> accepted_terms_hash + offer_digest (x402-evidence-join/v1)}. Returns the nine fields an agent needs before retrying: endpoint,
network, asset, max_amount, payer, facilitator_verdict, settlement_id, denial_reason, retry_state
(paid_do_not_retry | pending | denied_do_not_retry | expired_do_not_retry | not_paid_safe_to_retry), plus idempotency_key (the EIP-3009
nonce = the verdict's decision_ref). retry_state is read from the token's authorizationState(payer, nonce) on chain,
so it holds even without a tx_hash. settlement_id is set only when /verify-execution proves the tx is the payment
the verdict bound. 422 (unsigned) when the verdict does not verify or does not bind these args.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/babyblueviper/apis/invinoveritas.md) - [All operations](https://skmtc.dev/babyblueviper/apis/invinoveritas/llms.txt) - [OpenAPI document](https://skmtc.dev/babyblueviper/apis/invinoveritas/revisions/8b07f40b15e9?raw)
