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


IHDR7��T!PLTE�����������\��@�����|Z	pHYs���+#IDATx���n�8�
�QԷ!R����h��[��}�:#�{t�2���[�vm��0�n�U5��)��
�4a%ra�~��9��'�2�^	���@z��#�#�7"mU��#U�'sq����ׇ��Dq)Ol32�}q8�8�ܕ�u8Uml�����h��%�L=슩ʺI��6W�y[����tT�1���ԭ�ĩFm�L���֕R.�O2lD�`��v8I@�vMjfZt����T�>(ݢ�H�'��n��p�Bݾu�.��n�����+���7�;��wP�Y'�6�kД�Ӫ*eᴡkR3���#(;Dc�ꪱ��a;2�&�:�-��p��aKo1�0�X{��������/~Ƕ��u9�@��׽�^E��H�lm���B~޳x�	�``�7�O�*����@H��× /�*�������/�e���f��������
���ZF��@T��doE�P{��1�^���8�Z���>���ZJ�PAa���j�a�=EkB�# F�tSbm�h�)�d�m� P xԋ}�d�f,���=����}Jc�x ��~�ݧ(/P`�H�#��p��7��˟���D�?���V��d�p�B��W�� �!)�<^��`�.��^ I�� H��o�^��I
����f��
x/��P��>I�j!���^ {G�:;E>R0��#f�;�� Er4��g����+O�?z��acP�-��!���0��O�"�(�ѝ��J;�+Y�;ES�2���N�����1�u�߆��1p2�2�_an����h���=��(��$�#��ho@l�$���q��R�>�/�����8�p̮�����gF�p����~�I�>��G�X�t�e�5�i�	���@�ڀ�x/������8
/p��h���X�	�e�<���؋E�Ե{�d����u23G��Ȳ�6 -��ϩn�V�f��>����	g珶x���Nl���{�q�X -�
l�L|#�;�d�g�n`�r�L�b����L�%�	�C����b�^,6S�:�����W0����MQ3�
�)�D�ݠ���=�]��9;�����=��a�>H�3����y����rV��
`�r�`�G��xl@^x�x�`s9�k�#��\g0C��Do�S߫vs"w�̩ �De��>!{2�Ph�<�
0�uG��h�t����,��=�Vsf��l@�,�`����̞p�!�����kXP��[�"u�z�D����<��u�hf�t���%�L��@��Y0��azz��E �p[��)4 >��4I��E q�r�pע�p/>� @ 70�H��ЏH���8F ����G����X������7b`�@�t���>R�>��1_NK��A���<V�|W��
@ �@��æOxrA����<�m�x @�����琗Nd�F��n\�֐C*n�b:H��A���(�s��A*yi�^J���™����>u2�Z�Ȯ4�:UέT9� �3��rFyݨ�J�U*.��"��
ͭ�n-!ܪI�]uar�]��uz��&�T=�R��&�3G��c��P�n��{�����̆ �PvRA�[]�;�] � �ڻn�VЅ้�Pt�QP�����KǓ����'d0q7��h�&��2��O��M�0T�Y��]:ACT������&ĉ�.H�ۧ��̶�[|O�ɍr`��u�*�@饌�A�f�q{ܠ	2>�9A��*R�Vk�e����w�w�JbN�����da_�MS�׵˰�����.º�j&�'���8ZH�AIEND�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"
}