The REST API Resources It is your study path so that you can send the parameters so that the API gives you what you want.
“HOST_REST_API can be moncashbutton.digicelgroup.com/Api for live and sandbox.moncashbutton.digicelgroup.com/Api for test.”
Notice where HOST_REST_AP is in curl commands
1- Authentication
After , The possible services to be consumed.
2-Create Payment - “To create a payment you must send the orderId and amount”
Observe the parameters orderId and amount:
3-Payment Details - “To get a payment details from the return URL business script you must send the transactionId and orderId as HTTP POST with an AuthorizationBearerToken.”
4-SampleCapture payment by order Id
5-Sample Create Payment
…
And this topic help you :