Buy a credit pack with x402

Issues an x402 V2 Base USDC payment requirement or verifies and settles a PAYMENT-SIGNATURE through the configured hosted facilitator. The shared credit ledger is updated only after confirmed settlement.

post/api/v1/credits/packs/x402

Request

  • Base URL: https://spoolis.com
  • URL: https://spoolis.com/api/v1/credits/packs/x402
  • Auth: HTTP bearer

Request body

pack_cents500 | 1000 | 2000 required

Response

Payment settled and credited; poll the credit balance before retrying work

status'payment_accepted' required
settlement_referencestring required
pack_cents500 | 1000 | 2000 required
amount_microsinteger required
creditedunknown required
poll'/api/v1/credits/balance' required
retry_after_seconds0 required

Changes

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