API REFERENCE
API: payments
Canonical routes for payments (from ApiRoutes).
Routes
| Method | Path | Auth / notes |
|---|---|---|
| GET | /tenants/{tenantId}/payments | Bearer Cognito access token (paymentsList) |
| GET | /tenants/{tenantId}/payments/{paymentId} | Bearer Cognito access token (paymentGet) |
| POST | /tenants/{tenantId}/payments/{paymentId}/refund | Bearer Cognito access token (paymentRefund) |
| POST | /stripe/webhook | Signed webhook (stripeWebhook) |
Example
GET https://api.startupcore.com/tenants/{tenantId}/payments
Errors
401 UNAUTHORIZED, 403 FORBIDDEN, 403 FEATURE_NOT_ENTITLED, 404 NOT_FOUND, 400 VALIDATION_ERROR.