This commit is contained in:
2025-09-06 12:04:56 +05:00
parent 028f11da9c
commit 703ae1bb0b
3 changed files with 12 additions and 14 deletions

View File

@@ -39,7 +39,7 @@ trait HandlesBillingSyncing
$request = new Request(
method: 'POST',
uri: 'http://10.3.158.102:8888/api/paytrn/new',
uri: 'http://10.3.158.102:9999/api/paytrn/new',
headers: [
'Content-Type' => 'application/json',
'Authorization' => 'Basic YWRtaW46UUFad3N4MTIz',
@@ -50,16 +50,16 @@ trait HandlesBillingSyncing
$client = new Client;
$response = $client->sendAsync($request)->wait();
// curl --location --request POST 'http://10.3.158.102:8888/api/paytrn/new' \
// --header 'Authorization: Basic YWRtaW46UUFad3N4MTIz' \
// curl --location 'http://10.3.158.102:9999/api/paytrn/new' \
// --header 'Content-Type: application/json' \
// --data-raw '{
// "ecomId" : "0c406ee2-097d-42f7-86c8-18127bd87e10",
// "agentId" : "1307",
// "eposId" : "30400225",
// "account" : "4324234234",
// "rnn" : "002959773584",
// "amount" : 0.1,
// --header 'Authorization: Basic YWRtaW46UUFad3N4MTIz' \
// --data '{
// "ecomId" : "12345-12345-12345-12345",
// "agentId" : "1304",
// "eposId" : "30401238",
// "account" : "130420912769753",
// "rnn" : "110784016238",
// "amount" : 895.46,
// "payPurpose" : "Mart 2025"
// }'