v1
latestOpenAPI 3.1.02026-08-04650218.3 KBWebhook Resgate de Bônus
Webhook disparado no momento que o cliente vai até a loja e utiliza o bônus
post/:webhook
Headers
Content-Typestring
Authorizationstring
Token de autenticação
Request body
Response
200
Example response
{
"bonus_id": 12345678,
"user_id": 12345678,
"user_phone": "55 (99) 99999-9999",
"user_document_number": "12312312312",
"user_name": "João da Silva",
"status": "withdraw",
"withdraw": {
"withdraw_date": "2020-01-01 00:00:00",
"order_total": 100,
"bonus_total": 10,
"total_used_bonus": 10,
"customer_id": 12345678,
"customer_cnpj": "12345678901234",
"customer_name": "Loja 1A"
}
}