DocsTableau de bord

Connexions

Lire les moyens de paiement chez Stripe

GET/v1/connections/{id}/payment-methodspayments:read

Requires payments:read. Stripe connections with the merchant's keys only (404 otherwise). Reads the merchant's default payment method configuration at Stripe: available is true when Stripe may offer the method (display on and capability active). Also reads the checkout domain for Apple Pay and Google Pay, registering it at Stripe first when it is missing (no file to host). 503 when Stripe cannot be reached.

En-têtes

AuthorizationBearer pos_key_…obligatoire
Clé de serveur, pour tout l’espace. Jamais dans un navigateur.
X-Merchant-IDstringobligatoire
L’espace marchand concerné (mrc_…).

Paramètres

iddans le cheminobligatoire

Réponses

200Réussi
400Requête invalide
401Clé absente ou invalide
403Autorisation ou espace refusé
404Ressource introuvable
409Conflit avec une demande existante
422Impossible à traiter
429Trop de demandes, réessayez plus tard
503Service momentanément indisponible

Une erreur ne vaut jamais paiement. Le corps donne code, message, request_id et retry_action ; renvoyez la même Idempotency-Key si retry_action le propose.