e-Próspera
Reference

Pay a legal-entity application with a voucher

View as Markdown
POST
/api/v1/legal_entity_applications/{id}/pay/voucher

Authorization

AuthorizationBearer <token>

Personal standard API key. Send it as Authorization: Bearer sk-... and never delegate it.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/legal_entity_applications/497f6eca-6276-4993-bfeb-53cbbbba6f08/pay/voucher" \  -H "Content-Type: application/json" \  -d '{    "voucherCode": "string"  }'
{  "data": {    "property1": null,    "property2": null  },  "success": true,  "message": "string",  "property1": null,  "property2": null}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}