Hi Team,
I am currently developing a recurring payment solution using the MoMo API (Ghana environment) and would like to clarify the expected behavior for pre-approval mandates to ensure a smooth user experience.
1. Renewing Active Mandates:
If an MSISDN already has an active pre-approval mandate, what happens if a second POST /preapproval request is sent to that same number before the current one expires?
- Does the new request overwrite the existing one and reset the
validityTime? - Does it return a
PREAPPROVAL_EXIST_PENDINGerror even if the previous mandate is already in aSUCCESSFULstate? - Is there a recommended way to "extend" a mandate without requiring the customer to perform a fresh approval?
2. Maximum validityTime Constraints:
Regarding the validityTime parameter in the POST /preapproval payload:
- What is the maximum allowable value (in seconds) for this field in the Ghana Production environment?
- Are there platform or regulatory caps (e.g., 365 days) that would cause a validation error if exceeded?
- If a value like 10 years is provided, will the API reject the request or simply cap it to a default maximum?
3. Known Issues in Ghana:
I have noticed community discussions regarding the inability to recreate a pre-approval immediately after one expires. Could you confirm if this is still a known limitation and if there are specific "cool-down" periods or cleanup steps (like using the DELETE endpoint) required before a renewal?