Loans
post/v2/loans/{loanId}/cancel
Request
- Base URLhttps://sandbox.pismolabs.io/lending
- URLhttps://sandbox.pismolabs.io/lending/v2/loans/{loanId}/cancel
- AuthHTTP bearer
Path parameters
loanIdstring uuid required
ID of the loan the operation applies to
Headers
Idempotency-Keystring uuid required
Required UUID that makes the request idempotent, enabling you to retry it multiple times while the system processes it only once.
Request body
Example request
{
"tracking_id": "003b3de8-c321-464c-a3dd-6009b8698325",
"processing_code": {
"booking": "000011",
"penalty_waiver": "000011",
"repayment": "000011"
},
"refund_paid_repayments": true
}Response
Cancellation accepted
Example response
{
"canceled_loan_id": "MY_CUSTOM_LOAN_ID",
"reversal_authorization_id": 123456789,
"reversal_tracking_id": "4df987e3-8179-11ed-8209-06c7b022d1ee"
}Changes
No recorded changes to this operation across all 1 revision of this API.