Create refund

📘

API Refs

This endpoint creates a refund for a specific policyholder.

Request body

NameTypeDescriptionRequired
policyholderIdnumberID of the policyholder receiving the refundyes
amountnumberThe amount to be refundedyes
memostringA short description for the refundno

Response

The response will include the details of the created refund, including its status.

NameTypeDescription
idnumberUnique refund identifier
policyholderIdnumberID of the policyholder
amountnumberRefund amount
memostringRefund memo
statusobjectCurrent status of the refund
createdAtstringDate of creation (ISO 8601)
policyholderobjectPolicyholder details

Example

{
  "policyholderId": 123,
  "amount": 100.00,
  "memo": "Refund for policy cancellation"
}