Simulation


 

Our API allows you to simulate live models in the comfort of your local environment.

Message simulation feature allows developers to test and emulate the behavior of messages within our system. It provides a convenient way to observe how messages flow, interact, and respond in a simulated environment. All forms of messages in every stage of deployment can be sent with this endpoints.

Note: Do not forget to include the header. All forms of messages in every stages of deployment can be tested with this endpoints.

 

Use cases :

#Order Simulation

This is an example of how to simulate an order


   curl -X GET \
     '{{base-url}}/bot/simulation/{ message }'

Example:

 

 

#Payment simulation

Payment is to be completed online by the customer but it can be simulated with the following endpoint.


   curl -X POST \
     ' {{base-url}}/payment/simulation'

Payload :
{
  "order_reference": "5467870645",
  "amount": 600
}

Example: