Start Prepare Paramter
End Prepare Paramter
Start Set data array
End Set data array
Array
(
[amount] => 150
[currency] => THB
[description] => Pilot
[source_type] => qr
[reference_order] => 20241220070444
)
Start Set url option
End Set url option
API Response
{"id":"order_test_20287faeeccb9d48e426bb3747cb0414f9371","object":"order","created":"20241223070444636","livemode":false,"amount":150.0,"currency":"THB","customer":null,"description":"Pilot","metadata":null,"status":"success","reference_order":"20241220070444","source_type":"qr","additional_data":{"term":null,"mid":null,"tid":null,"smartpay_id":null,"campaign_id":null},"failure_code":null,"failure_message":null,"expire_time_seconds":3600}
API Response result
id : order_test_20287faeeccb9d48e426bb3747cb0414f9371
Data Order ID = order_test_20287faeeccb9d48e426bb3747cb0414f9371object : order
created : 20241223070444636
livemode :
amount : 150
currency : THB
customer :
description : Pilot
metadata :
status : success
reference_order : 20241220070444
source_type : qr
additional_data : Array
failure_code :
failure_message :
expire_time_seconds : 3600
End Create ORDER API