Skip to main content
POST
/
api
/
advances
Solicitar antecipação
curl --request POST \
  --url https://alpa-sistema-api.onrender.com/api/advances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amountCents": 123,
  "reason": "<string>"
}
'
{
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.usealpa.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT token obtido via POST /api/auth/login. Usado em rotas autenticadas do dashboard.

Body

application/json
amountCents
integer

Valor a antecipar em centavos. Se omitido, antecipa tudo disponível.

reason
string

Response

Antecipação criada com status PENDING