Agreement modification
show amendment
This will return any in-progress amendment for an Agreement (e.g. no response from debtor). If the Agreement has no in-progress amendment, endpoint will return 404
get/payto/agreements/{agreement_uid}/amendment
Request
- Base URLhttps://api.sandbox.zeptopayments.com
- URLhttps://api.sandbox.zeptopayments.com/payto/agreements/{agreement_uid}/amendment
- AuthHTTP bearer
Response
successful
Example response
{
"data": {
"agreement_uid": "biz_agreement_G7MQWwkQZIP8vbfH",
"changes": {
"description": "Payment plan for loan #1234",
"validity_end_date": "2023-12-31",
"payment_terms": {
"type": "fixed",
"frequency": "monthly",
"count": 1,
"amount": 10000,
"max_amount": 100000,
"first_payment_amount": 100000,
"last_payment_amount": 100000,
"first_payment_date": "2023-12-31",
"last_payment_date": "2024-12-31"
},
"creditor": {
"ultimate_party_name": "Billie Jean Senior",
"party_name": "Billie Jean Junior",
"account_identifier": {
"value": "123456-98765432"
},
"payment_account_uid": "pa_20221231_G7MQWwkQZIP8vbfH"
}
},
"resolution_requested_before": "2022-01-20T12:34:56Z",
"failure": {
"title": "Agreement Status Invalid",
"detail": "Contact Zepto for more information - The requested operation cannot be performed for the current status of the agreement",
"code": "MMS.API.9104"
},
"links": {
"agreement": "https://api.zeptopayments.com/payto/agreements/biz_agreement_G7MQWwkQZIP8vbfH"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.