Skip to main content

x402 v2 purchase of a plan in one payment (`depositAndSubscribe(tier_id, months, max_price, ref)`).

POST 

/v1/x402/purchase

The beneficiary is always the payer (contract rule). ref = the quote id, bound under the payer's signature. Quote verification, payment-identifier persistence and the pause answers follow the cross-host rules listed under POST /v1/x402/topup.

Request​

Responses​

Payment executed and subscribed event mirrored.

Response Headers
    PAYMENT-RESPONSE

    x402 v2 - base64 of a JSON X402SettlementResponse.