Easyflow API Document
Download OpenAPI description
Languages
Servers
Mock server
https://docs.easyflow.digital/_mock/openapi/
Production environment URL
https://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/
- Mock serverhttps://docs.easyflow.digital/_mock/openapi/webhooks/resume/{webhookId}
- Production environment URLhttps://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/webhooks/resume/{webhookId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.easyflow.digital/_mock/openapi/webhooks/resume/692f3483106ee1344d9aa243 \
-H 'x-api-key: string' \
-H 'x-api-secret: string'Response
application/json
{ "statusCode": 200, "data": { "resumed": true } }
Bodyapplication/jsonrequired
Webhook configuration fields to update. Note that only provided fields will be modified (partial update).
List of events to subscribe to.
Items Enum"order.chargeback""order.updated""order.canceled""order.created""order.paid""order.partiallyPaid""order.refunded""subscription.created""subscription.updated""subscription.activated"
- Mock serverhttps://docs.easyflow.digital/_mock/openapi/webhooks/{webhookId}
- Production environment URLhttps://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/webhooks/{webhookId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.easyflow.digital/_mock/openapi/webhooks/692f3483106ee1344d9aa243 \
-H 'Content-Type: application/json' \
-H 'x-api-key: string' \
-H 'x-api-secret: string' \
-d '{
"events": [
"order.paid",
"subscription.updated"
],
"name": "Integração Atualizada",
"notifyOnFail": {
"email": "jon@gmail.com",
"name": "Jon Santos"
},
"httpDispatcher": {
"id": "692f3483106ee1344d9aa23d",
"headers": {
"X-fingerprint-id": "321023"
},
"method": "POST",
"url": "https://webhook.site/9c8b39c9-8658-4e9a-b9d1-89c9f41e1e4a"
}
}'Response
application/json
{ "statusCode": 200, "data": { "updated": true } }