get

GET /v2/affiliatePaymentMethods/config — Get Stripe publishable key

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns the Telegra Stripe publishable key required to initialize Stripe.js on the frontend. Use this key to call stripe.createPaymentMethod(), stripe.collectBankAccountForSetup(), or any other Stripe.js method before adding a payment method.

Response

{
  "success": true,
  "data": {
    "publishableKey": "pk_live_..."
  }
}
FieldDescription
publishableKeyTelegra's Stripe publishable key — pass to Stripe(publishableKey) on the frontend

Required role

affiliate_super_admin, affiliate_admin, or affiliate_agent

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!