/
PWT Simulator
PWT Simulator
OnePipe PWT simulator is a simple interface that simulates a transaction notification transaction. You can get started following the few steps below.
Open Account
To simulate a transfer, you need an account number, you can get this by making an open account call using DemoProvider
as the auth.provider
. The documentation for Open Account can be found here.
{
"request_ref": "{{request-ref}}",
"request_type": "open_account",
"auth": {
"type": null,
"secure": null,
"auth_provider": "DemoProvider",
"route_mode": null
},
"transaction": {
"mock_mode": "live",
"transaction_ref": "{{transaction-ref}}",
"transaction_desc": "Open Account",
"transaction_ref_parent": null,
"amount": 0,
"customer": {
"customer_ref": "{{$randomPhoneNumber}}",
"firstname": "Victor",
"surname": "Irechukwu",
"email": "akin@onepipe.io",
"mobile_no": "2349066778900"
},
"meta": {
"dynamic_account":true
},
"details": {
"name_on_account": "{{$randomFullName}}",
"middlename": null,
"dob": null,
"gender": null,
"title": null,
"address_line_1": null,
"address_line_2": null,
"city": null,
"state": null,
"country": null
}
}
}
Simulator
Once you’ve gotten your account number on a successful open account, go to https://onepipesimulator.herokuapp.com/ type the account number and click on the forward arrow button to get the amount field, type the amount and continue. If account exists, you should get a callback on your webhook.
, multiple selections available,