Payment SDK
Create a checkout
Retrieve
List
Auth
The SDK auto-detects auth type:sk_live_...orsk_test_...→ API key (x-api-keyheader)- JWT token → Bearer auth (
Authorizationheader)
Accept payments with @agentaos/pay — create checkouts, track payments, manage webhooks.
sk_live_... or sk_test_... → API key (x-api-key header)Authorization header)