generated: '2026-09-19' method: searched source: openapi/coinrailz-com-agent-payment-api-openapi.yml summary: types: - apiKey - http api_key_in: - header schemes: - name: apiKey type: apiKey in: header parameter: X-API-KEY description: Prepaid credits API key (cr_live_...). Obtain via GET /api/m2m/credits/trial (free $5) or POST /api/m2m/credits/checkout/session (paid). sources: - openapi/coinrailz-com-agent-payment-api-openapi.yml - name: bearerApiKey type: http scheme: bearer description: 'Same cr_live_ key as X-API-KEY, passed as Authorization: Bearer .' sources: - openapi/coinrailz-com-agent-payment-api-openapi.yml - name: x402 type: apiKey in: header parameter: X-PAYMENT description: x402 protocol on-chain USDC payment. Base64url-encoded signed payment payload. See /.well-known/x402.json for facilitator details. sources: - openapi/coinrailz-com-agent-payment-api-openapi.yml - name: mpp type: http scheme: payment description: 'MPP (Machine Payments Protocol) credential. Authorization: Payment . See /.well-known/mpp.json.' sources: - openapi/coinrailz-com-agent-payment-api-openapi.yml docs: https://coinrailz.com/api/auth/capabilities docs_file: authentication/coinrailz-com-auth-capabilities.json description: Four schemes derived from the Agent Payment API OpenAPI and confirmed against the provider's live machine-readable auth document GET https://coinrailz.com/api/auth/capabilities (HTTP 200, saved verbatim alongside). The x402 services OpenAPI declares no securitySchemes at all; the overlay in overlays/ adds the two that apply. No OAuth2 / OIDC anywhere (well-known metadata 404), so scopes/ is deliberately absent. auth_modes_published: - mode: api_key header: X-API-KEY alternative_header: 'Authorization: Bearer ' description: Prepaid credits — fastest path. Works with any HTTP client. No wallet required. - mode: x402_onchain header: X-PAYMENT alternative_header: null description: On-chain USDC per-call payments using HTTP 402 protocol. No API key required. key_prefix: cr_live_ obtain: free_trial: GET https://coinrailz.com/api/m2m/credits/trial ($5, 1 per IP per 7 days, key returned once) hosted_checkout: POST https://coinrailz.com/api/m2m/credits/checkout/session -> Stripe checkoutUrl + retrievalToken direct_card: POST https://coinrailz.com/api/m2m/credits/purchase {paymentMethodId, amountUsd, idempotencyKey} on_chain: answer the 402 challenge with X-PAYMENT (x402 v2, CDP facilitator) mpp: 'Authorization: Payment per /.well-known/mpp.json' public_operations: 21