cURL
curl --request GET \ --url https://api.example.com/api/payment-links/{paymentLinkId}/stripe_checkout_session \ --header 'Authorization: <authorization>' \ --header 'organization-id: <organization-id>'
{ "id": "<string>", "url": "<string>" }
Creates a Stripe checkout session for an invoice payment link
Value must be 'Bearer ' where is an API key prefixed with 'bc_' or a JWT token.
"Bearer bc_1234567890abcdef"
Required if Authorization is a JWT token. The organization ID to operate within.
The ID of the payment link
Successfully created Stripe checkout session
Stripe checkout session ID
Stripe checkout session URL