Payment Processing
How do I create a payment intent?
Basic payment intent creation
Basic payment intent creation
/payment_intents with the amount, currency, and description:What currencies are supported?
What currencies are supported?
How do I handle different payment methods?
How do I handle different payment methods?
Payment Confirmation
When should I confirm a payment intent?
When should I confirm a payment intent?
What happens if confirmation fails?
What happens if confirmation fails?
requires_payment_method or requires_action. Check the last_payment_error field for details about the failure.Can I confirm payments server-side only?
Can I confirm payments server-side only?
Customers and Payment Methods
Managing Customers
When should I create customers?
When should I create customers?
How do I attach payment methods to customers?
How do I attach payment methods to customers?
Can customers have multiple payment methods?
Can customers have multiple payment methods?
Refunds and Disputes
Processing Refunds
How do I process a refund?
How do I process a refund?
Can I refund partial amounts?
Can I refund partial amounts?
How long do refunds take?
How long do refunds take?
Webhooks and Events
Payment Webhooks
What webhook events should I listen for?
What webhook events should I listen for?
payment_intent.succeeded- Payment completed successfullypayment_intent.payment_failed- Payment failedpayment_intent.canceled- Payment was canceledrefund.succeeded- Refund processed
How do I handle webhook retries?
How do I handle webhook retries?
Can I test webhooks?
Can I test webhooks?
Security and Compliance
PCI Compliance
How does Hixbe handle PCI compliance?
How does Hixbe handle PCI compliance?
What if I need to handle card data directly?
What if I need to handle card data directly?
Are payment methods tokenized?
Are payment methods tokenized?
Testing and Sandbox
Sandbox Environment
How do I test payments?
How do I test payments?
https://sandbox.api.hixbe.com. Use test API keys and test card numbers like 4242 4242 4242 4242.What test cards are available?
What test cards are available?
4242 4242 4242 4242- Succeeds4000 0000 0000 0002- Declined4000 0025 0000 3155- Requires authentication
Do sandbox payments appear in production?
Do sandbox payments appear in production?
Error Handling
Common Payment Errors
CARD_DECLINED - What does this mean?
CARD_DECLINED - What does this mean?
INSUFFICIENT_FUNDS - How to handle?
INSUFFICIENT_FUNDS - How to handle?
PAYMENT_INTENT_EXPIRED - What happened?
PAYMENT_INTENT_EXPIRED - What happened?
Integration Best Practices
Performance and Reliability
How do I handle rate limits?
How do I handle rate limits?
X-RateLimit-Remaining header and implement exponential backoff when approaching limits. Payment API allows 100 requests per minute.Should I use idempotency keys?
Should I use idempotency keys?
How do I implement proper error handling?
How do I implement proper error handling?
success field in all responses. Handle different error codes appropriately and provide meaningful feedback to users.Billing and Pricing
Understanding Costs
How am I charged for payments?
How am I charged for payments?
Are there fees for refunds?
Are there fees for refunds?
How do I monitor my usage?
How do I monitor my usage?