APIs to create and manage events.
curl -i -X POST \
https://apis.spotnana.com/v2/events/summaries \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"userId": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"companyId": {
"id": "f49d00fe-1eda-4304-ba79-a980f565281d"
},
"tripIds": [
"6926658168"
]
}'
{ "tripEventSummaries": [ { … } ] }
curl -i -X GET \
'https://apis.spotnana.com/v2/events/payment-sources?userId=f49d00fe-1eda-4304-ba79-a980f565281d' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
List of payment sources
Unique identifier identifying this payment source
Type of Payment Source
Payment source descriptor.
Status of the Payment Source.
{ "paymentSources": [ { … } ] }
curl -i -X POST \
'https://apis.spotnana.com/v2/events/6926658168/cancel?type=GENERIC' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'