e-Próspera
Reference

Deprecated partner coupon-payment alias

View as Markdown

Deprecated

POST
/api/v1/partner/residency_applications/{id}/pay/coupon

Use /api/v1/partner/residency_applications/{id}/pay/voucher with voucherCode instead.

Authorization

partnerKey
AuthorizationBearer <token>

Partner Key for one approved Partner Integration. Keys are lifecycle- and scope-checked, and cross-integration resources are hidden.

In: header

Path Parameters

id*string
Formatuuid

Header Parameters

Idempotency-Key?string

Makes retried partner write requests safe.

Length1 <= length

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/partner/residency_applications/497f6eca-6276-4993-bfeb-53cbbbba6f08/pay/coupon" \  -H "Content-Type: application/json" \  -d '{    "couponCode": "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  ]}