Body
-
activityId
string Required The activity id.
POST
/1/stripe/paymentintent
curl \
--request POST 'https://api.localsporthero.com/1/stripe/paymentintent' \
--header "Content-Type: application/json" \
--data '{"activityId":"string"}'
Request examples
{
"activityId": "string"
}
Response examples (200)
{
"paymentIntent": {
"id": "1ab474d5-e1fa-4340-ba6a-5642e720ea6a",
"stripeId": "accnt_923y89dhisd9372",
"clientSecret": "1ab474d5-e1fa-4340-ba6a-5642e720ea6a",
"customerId": "pending, failed, succeeded, etc",
"ephemeralKey": "1ab474d5-e1fa-4340-ba6a-5642e720ea6a",
"publishableKey": "1ab474d5-e1fa-4340-ba6a-5642e720ea6a"
}
}