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


IHDR7��T!PLTE�����������\��@�����|Z	pHYs���+4IDATx��͎�8�
�(ʭi�5ꛇ�j������[�H�2���-o��.CCW�Jva��l�aY�\؏��%E��9�9��Lxch%!���Ÿ��;�"ME��w�Pl�bs���ܛ�B6E�J9�|	�}�)�
�ks(��n^q�?e3�Kٮ⠛p#uj٠�BWy����-ŒG@a���y@�;�=٩���Ш�u%����3,D�`��f8@�vujfz����^h�A�>T�Dd]'I���*��A̲"hlU���Ea~��(�d�V�e�7E�vE�Z�(�T��N�LP~R�t�����N}X�ܝ	��mI�����fI�����������O��@��}of!��,͑����HSIZ���Vز#
��|����ek�������({J�>��}�� 
t�&G@�sl�S��):�(��s�G��
��N0GK�uH޳̚屮��@�p�>��oj1-�>��]
ojk�(��8�C�r��E;�P:�Q�k$b2���DxD
 y�2�C`��{�����+�n��>^;�X��A@��f� �K8r,���g�˰�>n;v�
��m����
�r�|���KN�4�	�`wBOg�Q�D`�{hl�b0�Q@,�0Z�>�e�Cb�$j�����n`%�NE��E�9|��	���t�E@f'q��c��%	B��S�{�z�d�
�w��s
�u� <�b�):�	F�St�b�#�NѡN0�����@,;E)0��]p���q�^^�y+��{W��>����{�\p�h��p�'p��@���߰G�xv��/��3�أpݿ�f1���rA
�eI���o7�a�\\qO���B�H���l�k`k��������|�K��Wbc����n������o���@���Ֆ���b>��
���)X5���}��ߣdު- }#�< }�>��e��3z\P��d��'8x狖�X(��e3U.�,=�f||?��V-,x(��]��.��1�d��rY* �c��Wd�ޙ�[@_!a#j!�	  �g�x�#�t�ژ<���� �&`E���?ʀU�@]�Qx�L�:��;_ (����h�'~ڡN�q���mM�1�@�~�~2�|�����*���͆�+�u�:d��f��S0͍��m ���,���|��"ֻ�I@�|dƩ@�x+V	@�:�+�jPl���P>�K`zVV��rn{<@K5'���2�P��#���n[Dcp&tة��S�3n��M�xb�+��Q�@ϸL�p�㹘�����G���i�ٟnq[��4�ލ�fF����^O
`p{(ry>����+����C(�ž��'!��;m-@`���'X�*��w�N`����Uc��X%�1�x+0a�^��T�@ �@r)L���T^H���t�  �B �T�qu�����ܽiT�{�6ϕ�T��V*�T�V�Mتv��:Տ�J%��v�t��DC�̹����:u2��|�]Z�U��[�R�ULe4��pFq]�/����T\ܲ��	�*4���Z�:��4��
�*L*�K�J�UՄJփK�$n�̱��X�.K�Ӆ��Ԗ�[�I���B�J����35R�2uW���<57�.�~P��X��j��2U��-�����]��Ѩz�W���O��5�R���a��i��Q�H�nA�~Nk�z�s��t��>��r�`�����c'5�5Sm�
�L�@�^��0���in ��y�Q�P�˛�m�W4ϥ�j���U�U�Q�1!�$���J	�m�2�*%����.¼��M $����cX�CwIEND�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"
}