credits
Get a credit top-up
Changed onReads the checkout from Coinbase and credits it on the spot once it has settled, so polling here returns credited: true without waiting on the webhook.
get/api/v1/credits/topups/{checkoutId}
Request
- Base URLhttps://api.morphllm.com
- AuthHTTP bearer
Path parameters
checkoutIdstring required
Checkout id returned when the top-up was created.
Example:6ae3c4f9b78e569c621631be
Identifies the top-up to read.
Response
The top-up state.
Example response
{
"checkoutId": "6ae3c4f9b78e569c621631be",
"status": "COMPLETED",
"amount": "25.00",
"currency": "USDC",
"credited": true,
"transactionHash": "0x8f5c0e5b8d1f6a3c9e2b7d4a1f0c3e6b9a2d5f8c1e4b7a0d3f6c9e2b5a8d1f4c",
"x402_url": null
}Changes
- info
endpoint added
- info