Last updated 3 months ago
This endpoint creates one-time code.
The id of the consent you wish to create an OTC for.
One-time code was created successfully.
const response = await fetch('https://apione.zwapgrid.com/consents//api/v1/consents/{consentId}/otc', { method: 'POST', headers: { "x-correlation-id": "123e4567-e89b-12d3-a456-426614174000" }, }); const data = await response.json();
{ "type": "text", "title": "text", "detail": "text", "instance": "text" }