Balance Transfer To Child Api

Balance Transfer To Child

Description :

This API endpoint is used to transfer balance to child

Endpoint URL :
Request Parameters
Request Parameter Data Type Default Value Required Description Change Date Change Description
mPin integer Yes 4 digit Mpin
user integer Yes user_id whom to transfer
amount integer Yes amount to transfer
transfer_type string Yes credit, its type of transfer
payment_mode string Yes Cash In-Hand, Advance Credit
bank_name string Yes/No required_if payment_mode - Cash Deposit, Bank Transfer, IMPS/UPI, NEFT/RTGS
reference_number string Yes/No required_if payment_mode - Cash Deposit, Bank Transfer, IMPS/UPI, NEFT/RTGS
remark string Yes remarks here
walletType string Yes Pass wallet1 for Main
Pass wallet2 for Utility
25-06-2024 New parameter added
Request Example
Responses (JSON)
  • Status Code 1: records fetched
    • Description: Balance Transfered successfully
    • 'status_code' (integer): 1
    • 'message' (string): "Balance Transfered to user"
    • 'txn_id' (string): "txn_id of transaction"
    • 'current_balance' (float): "current balance of child user"
  • 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): "there is no data found"
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