Update a merchant's failed payment handling
Changed onUpdate the settings that control automatic payment retry when a customer failed payment occurs.
put/billing/merchant/failedpaymenthandling
Request
- Base URLhttps://api-sandbox.ezypay.com/v2
- URLhttps://api-sandbox.ezypay.com/v2/billing/merchant/failedpaymenthandling
- AuthOAuth 2Client credentialsToken URL: https://identity-sandbox.ezypay.com/token
Headers
merchantstring required
Merchant ID
Request body
Response
200
Example response
{
"id": "c556d40f-87b5-49f9-90e8-07a610dac1a7",
"number": "57899",
"legalName": "high_st LegalNameNZ",
"name": "high_st NameNZ",
"countryCode": "NZ",
"email": "success+NZ+merchant+bf905c27-b03b-4529-a5d1-3beef14a03e3@simulator.amazonses.com",
"billing": true,
"settlement": true,
"status": "ACTIVE",
"settlementSchedule": {
"intervalUnit": "DAY",
"interval": 1,
"nextSettlementDate": "2019-05-19",
"intervalDayType": "calendar"
},
"settlementPayoutMethod": {
"id": "c556d40f-87b5-49f9-90e8-07a610dac1a7",
"paymentMethodToken": "cc0101ef-4bed-468a-8f0e-97449bba0edc",
"bank": {
"accountHolderName": "Automation Test NEW_ZEALAND",
"last4": "0000",
"bankNumber": "03",
"branchNumber": "1587",
"suffixNumber": "00"
}
},
"acceptedPaymentMethods": [
"BANK"
],
"failedPaymentHandling": {
"initialAction": "CONTINUE",
"autoRetry": true,
"retryInDays": 2,
"maximumFailedAttempts": 4
},
"paymentReactivationHandling": "activate_payments_across_customer",
"notifications": {
"customerEmail": {
"subscriptionCreation": true,
"paymentMethodCreation": true,
"pastDueInvoice": true
}
},
"metadata": {
"ezypay_internal_payment_simulator": "false"
},
"type": "business",
"feePricingId": "a67eca1d-0c37-4fc9-b9c5-03b2dc8aefc7",
"documentNumberSettings": [
{
"documentType": "invoice",
"prefix": "IN"
}
]
}Changes
- info
endpoint added
- info