/home/kueuepay/public_html/vendor/nesbot/carbon/src/Carbon/Lang/ro.php
<?php

/**
 * This file is part of the Carbon package.
 *
 * (c) Brian Nesbitt <brian@nesbot.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/*
 * Authors:
 * - Josh Soref
 * - JD Isaacks
 * - Cătălin Georgescu
 * - Valentin Ivaşcu (oriceon)
 */
return [
    'year' => ':count an|:count ani|:count ani',
    'a_year' => 'un an|:count ani|:count ani',
    'y' => ':count a.',
    'month' => ':count lună|:count luni|:count luni',
    'a_month' => 'o lună|:count luni|:count luni',
    'm' => ':count l.',
    'week' => ':count săptămână|:count săptămâni|:count săptămâni',
    'a_week' => 'o săptămână|:count săptămâni|:count săptămâni',
    'w' => ':count săp.',
    'day' => ':count zi|:count zile|:count zile',
    'a_day' => 'o zi|:count zile|:count zile',
    'd' => ':count z.',
    'hour' => ':count oră|:count ore|:count ore',
    'a_hour' => 'o oră|:count ore|:count ore',
    'h' => ':count o.',
    'minute' => ':count minut|:count minute|:count minute',
    'a_minute' => 'un minut|:count minute|:count minute',
    'min' => ':count m.',
    'second' => ':count secundă|:count secunde|:count secunde',
    'a_second' => 'câteva secunde|:count secunde|:count secunde',
    's' => ':count sec.',
    'ago' => ':time în urmă',
    'from_now' => 'peste :time',
    'after' => 'peste :time',
    'before' => 'acum :time',
    'diff_now' => 'acum',
    'diff_today' => 'azi',
    'diff_today_regexp' => 'azi(?:\\s+la)?',
    'diff_yesterday' => 'ieri',
    'diff_yesterday_regexp' => 'ieri(?:\\s+la)?',
    'diff_tomorrow' => 'mâine',
    'diff_tomorrow_regexp' => 'mâine(?:\\s+la)?',
    'formats' => [
        'LT' => 'H:mm',
        'LTS' => 'H:mm:ss',
        'L' => 'DD.MM.YYYY',
        'LL' => 'D MMMM YYYY',
        'LLL' => 'D MMMM YYYY H:mm',
        'LLLL' => 'dddd, D MMMM YYYY H:mm',
    ],
    'calendar' => [
        'sameDay' => '[azi la] LT',
        'nextDay' => '[mâine la] LT',
        'nextWeek' => 'dddd [la] LT',
        'lastDay' => '[ieri la] LT',
        'lastWeek' => '[fosta] dddd [la] LT',
        'sameElse' => 'L',
    ],
    'months' => ['ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie'],
    'months_short' => ['ian.', 'feb.', 'mar.', 'apr.', 'mai', 'iun.', 'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.'],
    'weekdays' => ['duminică', 'luni', 'marți', 'miercuri', 'joi', 'vineri', 'sâmbătă'],
    'weekdays_short' => ['dum', 'lun', 'mar', 'mie', 'joi', 'vin', 'sâm'],
    'weekdays_min' => ['du', 'lu', 'ma', 'mi', 'jo', 'vi', 'sâ'],
    'first_day_of_week' => 1,
    'day_of_first_week_of_year' => 1,
    'list' => [', ', ' și '],
    'meridiem' => ['a.m.', 'p.m.'],
];
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"
}