| Required role: | SdiCallback |
| POST | /api/v1/sdi/callback |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Event | body | string | No | |
| Data | body | SdiCallbackData | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Invoice | form | Object | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/v1/sdi/callback HTTP/1.1
Host: gemma.api.kerberos.energy
Accept: application/json
Content-Type: application/json
Content-Length: length
{"event":"String","data":{"invoice":{}}}