Available in🇮🇳 India
Every stopped object carries a status_reason: payment_acceptance.status_reason and settlement.status_reason are {code, description, requirement_id}. A suspension puts the same status_reason on both. A requirement explains itself in its description text instead.
Base your logic on code. The list is fixed, and Razorpay adds codes with notice. description is safe to show the sub-merchant. Razorpay sends the default below or more specific text for the case. When you take a partner action, send one of the 3 codes that start with partner_.
Total: 18 codes, 15 set by Razorpay and 3 set by you.
Know more about actions.