Validation Service

You can verify the information sent to your purchaseCallbackUrl with a simple API call to our validation service.


Example Validation Request
curl -H "Content-Type: application/json" \
         -u rocket:rock4mebuddy \
         -d "data={ \
            "transactionId": "AAEAAADoKU7bislxLFcY3OVfNKG0kipnnSZP1rUFIqESdPwblWE-xbU8", \
            "transactionType": "Purchase", \
            "shopConfig": "AAEAAADoKU7YJh44utJbVDLTqqEEeiaO28_f9LjaYMu1GdoBNT9_IG--/AAEAAAgfi0NkDIDyXMhIaaM-wfYLziibzdgBQIQVoD4hzxDnQt5szEIq/0ce5b60001d7e89c7b50fbe59cfb1bf5" \
             }" \
         https://sandbox.jumipay.com/merchant/transaction-events

Example Response

A successful answer would look like this:

    {
     "success": true,
     "type": "single",
     "payload": [
         {
             "creationDateTime": xxx,
             "transactionType": "Purchase",
             "newStatus": "Created",
             "oldStatus": null,
             "transactionId": xxx,
             "merchantReferenceId": xxx,
             "shopConfigurationId": xxx
         }
     ]
    }
                    

Here's an example of an error response:

    {
      "success": false,
      "type": "single",
      "payload": [
          {
              "name": "FieldInvalid",
              "description": "[FieldInvalid(PurchaseId)] null",
              "code": 3000006,
              "fieldName": "PurchaseId"
          }
      ]
    }
                    

Parameter Documentation
Required Param Description
* shopConfig Your unique shopConfig, which is being used to authenticate you.
* transactionId Transaction Id
* transactionType Transaction Type
JumiaPay