diff --git a/enveloped-application.json b/enveloped-application.json index 04990d3..bdeaed4 100644 --- a/enveloped-application.json +++ b/enveloped-application.json @@ -37,6 +37,29 @@ } } }, + "callbacks": { + "done": { + "https://your.site/callback-url": { + "post": { + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VerificationResult" + } + } + } + }, + "responses": { + "200": { + "description": "Your server returns this code if it accepts the callback" + } + } + } + } + } + }, "responses": { "200": { "description": "OK", diff --git a/enveloped-application.yaml b/enveloped-application.yaml index 4d36f77..1817d43 100644 --- a/enveloped-application.yaml +++ b/enveloped-application.yaml @@ -34,6 +34,19 @@ paths: "application/json": schema: $ref: "#/components/schemas/EnvelopedApplication" + callbacks: + done: + 'https://your.site/callback-url': + post: + requestBody: + required: true + content: + application/json: + schema: + $ref: "#/components/schemas/VerificationResult" + responses: + "200": + description: Your server returns this code if it accepts the callback responses: "200": description: OK