Discounts & Codes

Verify USDC payment for discount code

After /v1/verify, confirm that a USDC payment was made on-chain. The server checks the transaction receipt to verify USDC arrived at the merchant address.

post/v1/payment/confirm

Request

  • Base URL: https://api.insumermodel.com
  • URL: https://api.insumermodel.com/v1/payment/confirm
  • Auth: API key in header X-API-Key

Request body

codestring required

Verification code (e.g. INSR-A7K3M)

txHashstring required

On-chain transaction hash or Solana signature

Response

Payment confirmed

oktrue

Example response

{
  "meta": {
    "version": "1.0"
  }
}

Changes

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