Skip to content

Store a payment credential

POST
/v1/payment-credentials
curl --request POST \
--url https://api.extport.dev/api/v1/payment-credentials \
--header 'Content-Type: application/json' \
--cookie extport_session=<extport_session> \
--data '{ "provider": "stripe", "webhookSecret": "example" }'

Upserts the (tenant, provider) credential — storing again replaces the secret. The secret is never returned.

Media typeapplication/json
object
provider
required
Allowed value: stripe
webhookSecret
required
string
>= 8 characters <= 200 characters

Stored