wip
This commit is contained in:
1 parent
cf64c17690
commit
8337bbf19c
2 files changed
+22
-10
No files matched your search
@@ -17,15 +17,20 @@ public static function syncWithBilling()
|
||||
CURLOPT_FOLLOWLOCATION => true,
|
||||
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
||||
CURLOPT_CUSTOMREQUEST => 'POST',
|
||||
CURLOPT_POSTFIELDS => '{
|
||||
"ecomId" : "12345-12345-12345-12345",
|
||||
"agentId" : "1304",
|
||||
"eposId" : "30401238",
|
||||
"account" : "130420912769753",
|
||||
"rnn" : "110784016238",
|
||||
"amount" : 895.46,
|
||||
"payPurpose" : "Mart 2025"
|
||||
}',
|
||||
CURLOPT_POSTFIELDS => sprintf(
|
||||
'{
|
||||
"ecomId" : "%s",
|
||||
"agentId" : "%s",
|
||||
"eposId" : "30401238",
|
||||
"account" : "130420912769753",
|
||||
"rnn" : "110784016238",
|
||||
"amount" : 895.46,
|
||||
"payPurpose" : "Mart 2025"
|
||||
}',
|
||||
// $uuid,
|
||||
// $bankCode,
|
||||
|
||||
),
|
||||
CURLOPT_HTTPHEADER => [
|
||||
'Authorization: Basic YWRtaW46UUFad3N4MTIz',
|
||||
'Content-Type: application/json',
|
||||
|
||||
Reference in new issue
Block a user