We help you connect your store or application to Coinbase Commerce to accept USDC and other stablecoins.
Our integration covers everything, from setting up API credentials to configuring webhooks for real-time payment tracking.
🛠 Integration Flow
- Generate API Keys
Create API credentials from Coinbase Commerce.
- Add Webhook URL
Set up your webhook to receive payment confirmation and status updates.
- Configure Accepted Assets
Select which stablecoins to accept (e.g., USDC, DAI, USDT).
- Optional: Wrap with a Custom Checkout Handler
We can build a secure
POST /checkout
endpoint in your app to initiate Coinbase Commerce checkouts dynamically.
📦 Example: Create a Checkout
When creating a checkout session, send a request with the following payload:
{
"name": "T-shirt",
"price": "25.00",
"currency": "USD"
}
Sample Response:
{
"id": "checkout_ABC123",
"hosted_url": "https://commerce.coinbase.com/checkout/abc123"
}
- The
hosted_url
is the secure payment page for customers to complete their transaction.
- The
id
can track payment status or query transaction details later.
📚 Additional Notes
- Coinbase Commerce handles currency conversion automatically if the customer chooses to pay in a supported stablecoin.
- You can track webhook events, such as charge:confirmed, to update order statuses in your system.
Responses are generated using AI and may contain mistakes.