Listar eventos
https://api.affiliates.iugu.com/events
Retorna uma lista de eventos
Flow type: | clientCredentials |
Token URL: | https://identity.iugu.com/token |
Scopes: |
|
Respostas |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 |
OK
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
400 |
Bad Request
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
404 |
Not Found
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
500 |
Internal Server Error
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Criar evento
https://api.affiliates.iugu.com/events
Cria um novo evento
Flow type: | clientCredentials |
Token URL: | https://identity.iugu.com/token |
Scopes: |
|
Schema Obrigatório Tipo de conteúdo: application/json |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
1
2
3
4
5
6
7
{
"event": {
"affiliate_id": "f265618a-761e-4ffb-8a70-e9e60752dd91",
"event": "Boleto",
"amount": 100.0
}
}
Respostas |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
201 |
Criação bem-sucedida
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
422 |
Unprocessable Entity
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
400 |
Bad Request
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
404 |
Not Found
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
500 |
Internal Server Error
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|