API REFERENCE

API: payments

Canonical routes for payments (from ApiRoutes).

Routes

MethodPathAuth / notes
GET/tenants/{tenantId}/paymentsBearer Cognito access token (paymentsList)
GET/tenants/{tenantId}/payments/{paymentId}Bearer Cognito access token (paymentGet)
POST/tenants/{tenantId}/payments/{paymentId}/refundBearer Cognito access token (paymentRefund)
POST/stripe/webhookSigned 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.