settle_payment
Redeem a payment you have made and activate your plan. Step two of two, after open_payment and the transfer.
The payment is verified by reading Base: the transfer must have reached the settlement address, from the wallet this purchase was opened with, for at least the amount owed, and be five blocks deep. A payment that is real but not yet deep enough returns a pending error naming that — the money has moved, so call this again with the same hash rather than paying twice. One transaction settles one subscription.
On success your existing API key resolves to the new plan with nothing to change on your side: you become your own principal, and no person holds the subscription.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_hash | Yes | The Base transaction hash of your USDC transfer: 0x followed by 64 hex characters. |