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


IHDR7��T!PLTE�����������\��@�����|Z	pHYs���+�IDATx��͎�8���(ʭi�5ꛛ�j������[�H�ү���v1��;p���(��lW��
)����P�ޟ�Ȁx/8�wV2�� ��y=��2�*]��i@թfUyz�{y�燪0:��`^��.�^�y�Cbb���r�R��?�&̫�h�Z��W"I�6�q ]�~�Zz�����v4�C�#m��W"Iíc�4w�\f_���z�*:�=�o{ǾMM*�d�6T�Iԕ�9s� %	 (����+����)��6v׋�����Yi9���@����V��J8A�����m��;N������a��
��L�?�I�	G�kޒ\�\ �������	`�(f��،}oaA��%
�JS�Xv���:��	4V���v���e���������S�Q`J���|�y�ҏ��(@6��@m�:
dE��bh�!��X
N�؀p�-Cw�/��j~������x�?G�xl'�6n4��(`���!����\�2����d8Bp�@
����a8���p:���>���l�#l�=B\������	z����~A��o�J�r2��Z@��SQ�^�}��4�`��У@vp�(����6�۳�LpKV �
�n�D�j4�Nѷ���g��@x�����0�A��r�h�\�NѨ!�1�ָS4�	�o�hlX�NQ��ؑ��>�7%���nIaU����[�\vk��S���k�R�E�ew�.`w^4.�|YM�
��� ��|C���]���g��Z`�e��Z �(��zO��|>G���ly�ȲH�G7�u���SE�.��u��/�Vv�v�k�u���!��&�o�V�\Ŀ[�K�@�
|&x�7Eo��>�ap�!V��'"�~�/_��̈l�/�`��@@s�ep���O#/�ೝ����߃�.M|���5��s��Ց1
@XCPOD�zQS�V��(��7=����"��*
�3��,p�Q[��q;;��,@ۚ��
6/S�ɏ����&�[��,J����-N!k�f����'�RO�d��L�
��eyk�>��o;�4C���}3��z��נ�j0J����G,����@e��1]��+��� �U�@��ĶC��!_%�T����_0�)\O5@����V(���f��������\����Qk(�@���F��:�@����zw�,��%p�eb��	
@H	x@�x�,c�2@�$,1�*Q�&��l�?��������@�Q�2$X�@�
 ��8�G�$���;�,�h&����A3��:\�N��U��Yi��	��� �8�J����xI�c@ �@ �@ �̝��w0y�V��"n����#�	� ��UgL���_��u��ojU�U晴@U*f�"R%lQe�T�3��T=�I�H^���r
S�V'

#�My4�䩕������B)SQf��L��̨����uk����e�*���P�k�n���Ө�>��0Td$�L�dոJԃ	�TY�7(�lI<F:����t�\��k��-�$����B�K�
���9�R錪��nnYF�M���4\�ƕ���82j���@����l��Q���K�`䓵5��!U>�zm����T>Bǔ[P�0����Zc�d6�����f���_|�ءڸ���d�)���s�*���v�A��1�X*�Jq��->BU��|�~W�c��T*b�b�#����Cj�K�aQ���5�t��gPo]�?fw~D��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"
}