/home/kueuepay/tmp/webalizer/hourly_usage_202511.png
�PNG


IHDR7��T!PLTE�����������\��@�����|Z	pHYs���+wIDATx��Kn�8�)�
C�(@�Ȏ�Ơ1�`�^�����ݛ\Þ]n;�ėD��ڱ%�
I��*QfV���Z88��gp8��Bxc��@@��L���~��L�
@�����ں��ֿ
K��I�+);9����+� ��V� ߴ�����ԥ�Wu�]�R�&��Pu����>�����=rN��@�n�Z�P����w%��FzW���|�l��H0�q�[ȴ���܈V�3ťPt��z����	@S�Ƿ�hf�j�l�����~����:s��<$�W��;)MoI����Mn�ƃ񓪧_h���Z6p��|��`��d��r	@�[�9��|��Z����Qޢ�����O���؛X�>:%c�ń�Y�����j�5��R�[ɾ�Uv/kh�w/O�������@?�u�{�@Y�`O���R�`@+
ر56�w�9A^
�*�:
d�E����X$��^0���Uz�@�_���r��� Pzh�KQ`O����@>�@�J�P]� S��L�`\�`�+��O�
`���6���o����q�
`����)A�9����=
�;Ax��(��$�0�(��C�>*��Ǣ�^�}��j!����=
dG�(��S��Z�h!��_�L4Z���q���m�$mj5
 �S��b��\Pg5�F
�:���)�u�p;E�S ��v��Nl�h$
`��0H@@�N�N�96����p�cȳ6����8����=
�;Ax�'z@�)��WQ�@�rh�� ����
�Y���O�0�o��B�8���?+�/v+�2z`��,GY�����?��8�S�H,�\�dJ	
蝢�a{
�B ����	컹@ �}�*��ՙ`��J ���b�o�i�j&��J ��x��|92����� ��������_h���	|�]���.@ �J#��%8���
 y� ���F.����-5�``�`N"�ֽ�'"��7g��DU�V-"��5g�,�P�\#ݛ�ݨRF��ؗ�>�to3��5Y�y>��@ʘ[����@�1��u-���vzsE���h&�߽I1swi"#�7z�"#9�!����؎[hr���������~�u��[���
�4��~o{-lG8(n��30�|���h;RM�lc��Z�x�}$�}0#cu��Dǚ�U��u5�HG�굡�\��CT���$��Hv�bB�H�N�vPJ�������L���I\����T_ y[2������=�j<��fՎ;�wG�����@Ľͪ�0'�	 w`�yOՖ�J�8��8`��D
 ��p{&̉����Ab&:U7��ꅩ��\��ŌJ��m��[����Q��o��>�mO,��Ds���iP�4�W�u
��Ņ���b���\/����k]�:�PI���<�����&ڰ����.����k���iJ��!t��֤8�2x�|���tC�:׵V�$�I��T[C��e�nM;ޙ�ܪ\A;��0���1Bp�(��M��sMkC:��N�ͼ�p=�0�Pt�Q��+gZ�mG2��T;��r�]���-X#������N$����S�[��~Bt͏��*�\��1�T�{k���a�F3�ݑ0�T.�@eBQ�����]}�~�'UiU,P���"!5�l�7�N)���m�T*�� �6aZy�z��:^?W�G�IEND�B`�
Initiate Payment

Initiate Payment

Initiates a new payment transaction.

Endpoint: POST create-order
Parameter Type Details
amount decimal Your Amount , Must be rounded at 2 precision.
currency string Currency Code, Must be in Upper Case (Alpha-3 code)
success_url string Enter your return or success URL
cancel_url string (optional) Enter your cancel or failed URL
                    
                        Request Example (guzzle)
                        

<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', $base_url.'create-order', [
'headers' => [
  'Authorization' => 'Bearer '. $authorizationToken,
  'accept' => 'application/json',
  'content-type' => 'application/json',
 ],
'form_params' => [
  'amount' => '$amount',
  'currency' => 'currency',
  'success_url' => 'success_url',
  'cancel_url' => 'cancel_url',
 ],
]);
echo $response->getBody();
                    
                        
**Response: SUCCESS (200 OK)**
{
 "message": {
 "success": [
  "Order created successfully."
 ]
},
"data": {
 "redirect_url":"https://example.com/login/OISADFDFSDFSF",
 "order_details":{
 "amount" : "10",
 "fixed_charge" : 2,
 "percent_charge" : 1,
 "total_charge" : 3,
 "total_payable" : 13,
 "currency" : "USD",
 "expiry_time": "2024-04-25T06:48:35.984285Z",
 "success_url": "http://127.0.0.1/nfcpay/user/transaction/success",
 "cancel_url": "http://127.0.0.1/nfcpay/user/transaction/cancel"
}
},
"type": "success"
}
                    
                        
**Response: ERROR (400 FAILED)**
{
 "message": {
 "error": [
  "Invalid token."
 ]
},
"data": null,
"type": "error"
}