Collect Request Notification Webhook
Webhook endpoint called by M2P to notify the partner when a new collect request is received for the users VPA. The partner app should display this as a notification prompting the user to approve or decline the collect request.
Request Body
application/json
Collect transaction ID
VPA of the user being collected from
VPA of the requester
Name of the requester
Requested amount
Collect request remarks
Collect request expiry time
date-timeProfile ID of the payer
Response Body
application/json
curl -X POST "https://sandbox-upi-api.m2pfintech.com/webhook/collect/notification" \ -H "Content-Type: application/json" \ -d '{ "txnId": "COLLECT-TXN-UUID-12345", "payerVpa": "amit.patel@indie", "payeeVpa": "requester@bank", "payeeName": "Service Provider", "amount": "1500.00", "remarks": "Monthly dues", "expiry": "2026-03-02T14:30:00Z", "profileId": "c82e4f19-7b3a-4d6e-9f01-ab3456789def" }'{
"status": "OK"
}Validate VPA for Deregistration POST
Validates whether a VPA can be deregistered (deleted). Checks for active collect requests, active mandates, and UPI number linkage that would prevent deletion. Use this before calling the VPA delete action to get a clear pre-check.
Mandate Status Webhook POST
Webhook endpoint called by M2P on the partner system to deliver mandate status updates. Notifies when mandates are created, approved, rejected, revoked, paused, or executed. Partners must respond with HTTP 200 to acknowledge.
