AePS Cash Withdrawal Api

AePS Cash Withdrawal

Description :

This API endpoint is used to do AePS Cash Withdrawal.

NOTE :- Always perform successfull AePS authentication beforecash withdrawal. After successfull authentication in 90 seconds you have to complete transaction.

Endpoint URL :
Request Parameters
Request Parameter Data Type Default Value Required Description Change Date Change Description
token string Yes Please pass the app access token
agent_id string Yes id of the aeps agent
aadhar string Yes aadhar no of customer
bank string Yes bank id of customer
customer_mobile string Yes mobile no of customer
amount Int Yes amount should be 100 or more and multiple of 50.
latitude string Yes Please enter latitude
longitude string Yes Please enter longitude
refid string Yes please enter refid
req_mode string Yes please enter req_mode from (API,App)
pid_data string (base64 encoded) Yes finger print data
Request Example [JSON]
Responses (JSON)
    • transaction_type (string): typ of transaction.
    • status_code (integer): The status code of the response.
    • status: Status of transaction report
    • transaction_amount: amount of transaction
    • customer_name: name of customer
    • balance: available balance
    • reference_no: refrence no
    • message: Transaction Successfully Completed.
    • txn_id: transaction id
    • rrn: rrn no
    • your_req_id: your ref id
    • created_at: transaction request time
    • updated_at: transaction complete time
  • Status Code 2: Validation Error
    • Description: Validation error in the input parameters.
    • 'status_code' (integer): 2
    • 'message' (string): "A specific validation error message."
  • Status Code 0: Error message
    • Description: A specific error message.
    • 'status_code' (integer): 0
    • 'message' (string): "Agent id not found"
    • 'status' (string): "Failed"
Note
  • The API endpoint should be accessed via a POST request.
  • Ensure that the request is properly validated and sanitized to prevent security vulnerabilities.
  • Implement proper error handling on the client side to display user-friendly error messages based on the 'status_code' and 'message' fields in the response.
© Redpay.
Design & Develop by Redpay Payments Private Limited