User Bank Info
warning
Call this API before starting the "Confirm Transaction" from the app.
If the user's banking details are provided via the API, it will appear pre-filled when the user tries to set up e-Mandate with us, improving the UX of the user journey. This is an option that is often leveraged by our partners who have such data available (mainly Social Commerce, Financial Apps etc).
- Request
- Response
Your Server - Request
POST https://sdk.bharatx.tech/merchant/user/info
Headers:X-Signature: base64-encoded sha256(requestBody + privateApiKey)X-Partnerid: partnerId
Body:{ "userId": string, // user identifier in perspective of you "userName": string, "userAccountNumber": string, "userIfscCode": string}
BharatX Server - Response
Headers:-
Body:{ "message": string}
Status = 200; message = "ok"Status = 400; message = "INVALID_INPUT"Status = 401; message = "AUTHORIZATION_FAILED"Status = 500; message = "INTERNAL_SERVER_ERROR"