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


IHDR,G�-PLTE�����������\��@���������������M�(	pHYs���+
cIDATx��Kr�H�iFҾ�LHk����D�whQ�?�d=x�T�$���W�K@� ��3��-���U����U�9��?o�כ��m|To�_@��5l���~�����u�8'��ו
f��9.����O34��bT���4�9��¬�B��r��ơGnb�����
L���wpKW;w�m&B7�U�Lf������z^��Oxw+-������6ध��>�ɒ�<�wD�L��f9@5q��h�r����6~O`����O5��g�uX���臡���4�������{ol����u��;�`�[C-�|�~�}���6g~_��6_ �@���Uͩ��|é����<�&�3Y�V�g�<O��y
3%�0���
:B},���[���,�[ �@����^��@ �p@q��o�Op�&Ͽ���<_�л�:��cTWuKkǝ[X<����G[u�л�m;�CBP�?ri}�1�D��;Y;<�����������s۵���џ��ZF�`���o��L$<�`��/��Ι�kƮ�������{iNd��/����&d�d�wX��|O�:7�kUe�A�,L��
�|��a/0��u���m&�m�J��t>/\�-�@Ӭ�+����[�����F����˦��v��o������v���KE�Rp>��:0~ 7�D����s��f�;�h��os��X�gӟLٳ=U՞-,��ܟ�M&��G�oe����	���R�����	جj�:w��u��U�VHVK�
��4����\l�<��_�	��Oy&��Qr$�_��g�Eۄ�tY�g]�*@f��HP��_
�D�'��^�%B�o�h�Tz�M�Z�u��ğr*8�>l��7ӡ=��ֺ�ݴ�+�ğB@7zeKボ6^��~�|��M�]�d��@4�.�P��O���mc�o�n�J۳�>����
��V_nCB�@�?�Bv
��ȿ�v	la"����o��.���� �_���L�8� ��ֶ�A�`�o�&̳�F��ۖ�d8p�S֫��Mcͬl����~�|I��`��.z���p�,�Zi��ל,�}h�X�ƞ�������rI/��	`	�8����%��h[M�@Mz*��J�)������h��˓�=ʿ��so�����P�I��ھ�hVf�'�o}[��" W@�E�սQ(z�-��muw���`͚q�H�Y� 
�Љ�Q�2�blfN�������-`K�Y ���@8l�w`�@0t���@0t�vJ�P���\
P8�x4S 0��,�h��/�ϓa�
0��@d���b+	P0�X5G0X7@�p3`�9������@̀�`ȁ�X�b�5��	3^$C�@jz�xm��xm�}0@�k`�ȫ�K� �!�W�@��ˀ���s�@X�@�
�V�
@\�`��
�S�(�ȅ�O\i^�@T�E�)Q	@\H�`"
P�i�"@ ��m���7���]�@B��?&$�ypk)��$�	@�v �;�f��H4�n�\�
@j�{����l��xn��7/@�B9wDW����%�D���@ �@��~<-�p�@����Ez" �PE@���D���/0|;��@��<Hz���c�%=
���s��C�|���(�qPߙ\��� q
Hs�-J����@��򑚔 7�@�m��,@���V!�+L
�6����&��A�.O�v�"p ����!@�S(�h�����b�+�FKT�%P��r�'B�6G`�ops0 ����[��16�@[:��τ<�*����Z��q���&L���-[D�}~K� �Fh�z3p�`;
_��U� ��?9�^1�M,вf@�M,��-�&@�$ �찹������M��

�'��w�

�F$��g5@4oM��-�P���@6�2�O�D���S����=(@_2
a1�'�'��Ϟ��$H$PP��)��H�du:�1��
`�@$�I�E ��1����0%|EP��W9L^PD�e�ցM��g�'����[���,sk��&��/*�\w��^�;�N�\O�������B���
L!�"ǥ
�@ѣR	@��1)����)��Ze�:�pT2Ƣ:�Ach;?D��@ �p@q��o�@����"���z�W��P@ ��>>	 ��~����1�
����>^�y�w��?��e��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"
}