Pay a partner application with a voucher
Changed onApplies a voucher that must cover the full invoice. Returns the updated application with nextSteps.paymentRequired false. Voucher errors carry a machine-readable code: voucher_not_found, voucher_expired, voucher_already_redeemed, voucher_not_applicable, voucher_not_full_coverage, invoice_not_found. Requires Idempotency-Key.
Request
- Base URLhttps://portal.eprospera.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Headers
8-128 URL-safe characters. Retained for 24 hours per integration and route. An identical retry replays the stored response with Idempotency-Replayed: true; a different body under the same key returns 409.
Request body
Response
Voucher applied; the application is returned.
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- breaking
the
headerrequest parameterIdempotency-Keybecame required - breaking
for the
headerrequest parameterIdempotency-Key, the minLength was increased from1to8 - breaking
added the pattern
^[A-Za-z0-9_.~-]+$to theheaderrequest parameterIdempotency-Key - warning
for the
headerrequest parameterIdempotency-Key, the maxLength was set to128 - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
the response property
became required for the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking