Skip to main content
POST
/
v1
/
app
/
affiliate
/
withdraw_request
Create Withdraw Request
curl --request POST \
  --url https://api.centralcart.com.br/v1/app/affiliate/withdraw_request \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "affiliate_id": 123,
  "amount": 123
}'
{
  "id": 1,
  "store_id": 1,
  "affiliate_id": 1,
  "operation": "WITHDRAW_PENDING",
  "amount": 100.50,
  "message": null,
  "order_id": null,
  "created_at": "2024-01-16T15:12:36.000-03:00",
  "updated_at": "2024-01-16T15:12:36.000-03:00"
}
affiliate_id
number
required
ID do afiliado que está solicitando o saque
amount
number
required
Valor do saque
{
  "id": 1,
  "store_id": 1,
  "affiliate_id": 1,
  "operation": "WITHDRAW_PENDING",
  "amount": 100.50,
  "message": null,
  "order_id": null,
  "created_at": "2024-01-16T15:12:36.000-03:00",
  "updated_at": "2024-01-16T15:12:36.000-03:00"
}