Quick Start
Prerequisites
Step 1: Create a Charge
curl -X POST https://api.bedrock.io/v1/charges \
-H "X-API-Key: sk_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"orderId": "order-123",
"amount": "25.00",
"metadata": {
"customerEmail": "[email protected]"
}
}'Response
Step 2: Redirect to Payment Page
Step 3: Handle the Webhook
Verify the Webhook Signature
Step 4: Fulfill the Order
Example Integration
Node.js / Express
Next Steps
Last updated