Create a payment session
Authentication using Bearer tokens. Include your API key in the Authorization header.
Key Types:
sk_test_*
for development and testingsk_*
for production environmentspk_test_*
or pk_*
for client-side operations📩 Need access? Contact Support to request your API keys.
Usage:
Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc
A unique key to prevent duplicate operations. Use the same key for retries to ensure idempotent behavior.
Best Practices:
Idempotent-Replayed
header for cache hits1 - 255
Payment session created
The response is of type object
.