check customer status

Get the transaction status of a given cashpoint

This endpoint is throttled to 1 request every 300 milliseconds.

Request

MethodURL

GET

{{baseUrl}}/api/service/v1/query/customer/check?virtualaccount={{NUBAN}}

HeaderValue

Content-Type

application/json

publicKey

{{publicKey}}

b-access-token

{{accessToken}}

Use the accessToken that was given in response to /api/service/v1/query/merchant/login

Response

{ 
   status: true, 
   message: "This customer is transacting.", 
   data: { 
       virtualaccount:4000000000,
       accountistransacting: true 
    }
}

OR

{ 
   status: true, 
   message: "This customer is not transacting.", 
   data: { 
       virtualaccount:4000000000,
       accountistransacting: false 
    }
}

Last updated