API Reference
The Payments API enables all the functionalities needed to create checkouts.
Usage
You must use an API Secret Key to make authenticated calls. These calls should be made from your backend. Create an API Key from your thirdweb dashboard.
Provide your secret key as a header: thirdweb_secret_key: your_api_secret_key
API Categories
Enable Contracts for Payments
Enable, edit, and disable contracts for Payments.
Checkout Links
Create, edit, and delete Checkout Links.
One-time Checkout Links (Advanced)
Create One-time Checkout Links.
Embedded Elements
Create SDK Client Secret used for Embedded Elements.
Transaction Status
Get the status of a transaction by transaction ID.
Get Estimated Price
Get the estimated price of a checkout, including fees and gas.
Transaction Holds
Capture or cancel a transaction hold.