SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Expenses

Request approval

POST/api/v1/expenses/:id/approve/request

First step of paying out an expense — the same OTP-gated pattern used across the platform's finance tooling. Validates the expense and emails a code. Admin-only.

Requires Authorization
ADMIN only
Payout OTP

Path parameters

idstringrequired
Expense ID.
Request
curl --request POST \
  --url https://api.swiftgoma.com/api/v1/expenses/:id/approve/request \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": {
    "message": "Un code de vérification a été envoyé à admin@swiftgoma.com.",
    "expiresInMinutes": 5
  }
}