v1

latestOpenAPI 3.1.0Public2026-07-1316041.2 KB
Advertising

Confirm ad payment (quote-first flow, step 2)

After broadcasting the USDC payment transaction, call this endpoint with quote_id and transaction hash to finalise the submission. The system verifies the transaction on-chain. Accepts application/json or form-encoded bodies.

post/api/ads/submit/pay

Request body

quote_idstring required

Quote ID from POST /api/ads/submit

tx_hashstring required

Transaction hash of your USDC payment on the selected network

Example request

{
  "quote_id": "q_123456",
  "tx_hash": "0xabc123..."
}

Response

Submission confirmed

submission_idstring

Use this to check status

statusstring
messagestring

Example response

{
  "submission_id": "ad_42",
  "status": "pending_review",
  "message": "Ad submitted successfully and is pending review."
}