MoneyUnify
    MoneyUnify
    • Mobile Money API Documentation
    • Request Payment
      POST
    • Payment Verification
      POST
    • Settle | Disburse | Send Money
      POST

      Request Payment

      POST
      /v2/request_payment
      API endpoint to trigger and accept/request a payment - The user, customer, or payer will receive a USSD prompt to confirm payment by entering their PIN. This API endpoint will return a response based on the user action response to the request on their phone.
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://api.moneyunify.com/v2/request_payment' \
      --data-urlencode 'muid=768tg1iu8tswqsqwq' \
      --data-urlencode 'phone_number=0971943638' \
      --data-urlencode 'amount=10'
      Response Response Example
      {
        "message": "Transaction successful",
        "data": {
          "amount": "5.00",
          "customer_name": "Blessed Mwanza",
          "customerMobileWallet": "0769641179",
          "reference": "0762611179_1713450343",
          "status": "successful"
        },
        "isError": false
      }

      Request

      Body Params application/x-www-form-urlencoded
      muid
      string 
      required
      Your MoneyUnify ID (MUID) Should be obtained from your MoneyUnify Dashboard on https://dashboard.MoneyUnify.com
      Example:
      768tg1iu8tswqsqwq
      phone_number
      string 
      required
      10 digits customer phone number
      Example:
      0971943638
      amount
      integer 
      required
      amount to be deducted (integer)
      Example:
      10

      Responses

      🟢200Request Payment
      application/json
      Body
      message
      string 
      required
      data
      object 
      required
      amount
      string 
      required
      customer_name
      string 
      required
      customerMobileWallet
      string 
      required
      reference
      string 
      required
      status
      string 
      required
      isError
      boolean 
      required
      Modified at 2024-06-17 04:26:35
      Previous
      Mobile Money API Documentation
      Next
      Payment Verification
      Built with