/home/kueuepay/public_html/resources/views/developer/pages/faq.blade.php
@extends('developer.layouts.master')

@section('content')
<div class="developer-body-wrapper">
    <div class="developer-main-wrapper">
        <h1 class="heading-title mb-30">FAQ</h1>
        <div class="row">
            <div class="col-lg-8">
                <h4 class="mb-10">1. {{ __("What is the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Payment Gateway") }}?</h4>
                <p class="ps-4 mb-40">{{ __("The") }} {{ $basic_settings->site_name ?? '' }} {{ __("Payment Gateway is an innovative technology that facilitates seamless and secure transactions between merchants and their customers. It enables businesses to accept debit and credit card payments both online and in physical stores.") }}</p>
                <h4 class="mb-10">2. {{ __("How does the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Payment Gateway work?") }}</h4>
                <p class="ps-4 mb-40">{{ __("The") }} {{ $basic_settings->site_name ?? '' }} {{ __("Payment Gateway acts as a bridge between a merchant’s website or point-of-sale system and the payment processing network. It securely transmits payment information, authorizes transactions, and provides real-time status updates.") }}</p>
                <h4 class="mb-10">3. {{ __("What is the advantage of using") }} {{ $basic_settings->site_name ?? '' }}’s {{ __("Developer API") }}?</h4>
                <p class="ps-4 mb-40">{{ __("The") }} {{ $basic_settings->site_name ?? '' }} {{ __("Developer API empowers developers and entrepreneurs to integrate the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Payment Gateway directly into their websites or applications. This streamlines the payment process for customers and provides businesses with a customizable and efficient payment solution.") }}</p>
                <h4 class="mb-10">4. {{ __("How can I access the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Developer API") }}?</h4>
                <p class="ps-4 mb-40">{{ __("To access the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Developer API, you need to sign up for a developer account on our platform. Once registered, you’ll receive an API key that you can use to authenticate your API requests.") }}</p>
                <h4 class="mb-10">5. {{ __("What types of transactions can I handle with the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Developer API") }}?</h4>
                <p class="ps-4 mb-40">{{ __("The") }} {{ $basic_settings->site_name ?? '' }} {{ __("Developer API allows you to initiate payments, check the status of payments, and process refunds. You can create a seamless payment experience for your customers while maintaining control over transaction management.") }}</p>
                <h4 class="mb-10">6. {{ __("Is the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Developer API suitable for my business size and industry") }}?</h4>
                <p class="ps-4 mb-40">{{ __("Yes, the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Developer API is designed to accommodate businesses of varying sizes and industries. Whether you’re a small online store or a large enterprise, our API can be tailored to fit your specific payment needs") }}.</p>
                <h4 class="mb-10">7. {{ __("How user-friendly is the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Developer API integration process") }}?</h4>
                <p class="ps-4 mb-40">{{ __("The") }} {{ $basic_settings->site_name ?? '' }} {{ __("Developer API is designed with simplicity and ease of use in mind. Our comprehensive documentation, code samples, and developer support resources ensure a smooth integration process for any web platform.") }}</p>
                <h4 class="mb-10">8. {{ __("Are there any fees associated with using the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Payment Gateway and API") }}?</h4>
                <p class="ps-4 mb-40">{{ __("We offer competitive pricing plans for using the") }} {{ $basic_settings->site_name ?? '' }} {{ __("Payment Gateway and Developer API. Details about fees and pricing tiers can be found on our developer portal.") }}</p>
                <h4 class="mb-10">9. {{ __("Can I customize the payment experience for my customers using the") }} {{ $basic_settings->site_name ?? '' }} {{ __("API") }}?</h4>
                <p class="ps-4 mb-40">{{ __("Absolutely, the") }} {{ $basic_settings->site_name ?? '' }} {{ ("Developer API offers customization options that allow you to tailor the payment experience to match your brand and user interface. You can create a seamless and cohesive payment journey for your customers.") }}</p>
                <h4 class="mb-10">10. {{ __("What kind of support is available if I encounter issues during API integration") }}?</h4>
                <p class="ps-4 mb-40">{{ __("We provide dedicated developer support to assist you with any issues or questions you may have during the API integration process. Reach out to our support team at") }} <a href="mailto:developersupport@NFCPay.com" target="_blank" class="text--base">developersupport@NFCPay.com</a> {{ __("for prompt assistance") }}.</p>
            </div>
        </div>
        <code class="mt-60 d-block highlight">{{ __("Remember, our goal is to empower your business with a robust and efficient payment solution. If you have any additional questions or concerns, feel free to explore our developer portal or contact our support team.") }}</code>
    </div>
    <div class="page-change-area">
        <div class="navigation-wrapper">
            <a href="{{ setroute('frontend.developer.example') }}" class="left"><i class="las la-arrow-left me-1"></i> {{ __("Examples") }}</a>
            <a href="{{ setRoute('frontend.developer.support') }}" class="right">{{ __("Support") }} <i class="las la-arrow-right ms-1"></i></a>
        </div>
    </div>
</div>
@endsection
Access Token

Get Access Token

Get access token to initiates payment transaction.

Endpoint: POST generate-token
Parameter Type Comments
client_id string Enter merchant API client/primary key
secret_id string Enter merchant API secret key
env string Enter merchant API environment
merchant_id string Enter merchant API merchant id
Just request to that endpoint with all parameter listed below:
                    
                        Request Example (guzzle)
                        

<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', $base_url. 'v1/generate-token', [
'headers' => [
  'accept' => 'application/json',
  'content-type' => 'application/json',
 ],
'form_params' => [
  'client_id' => '$client_id',
  'secret_id' => 'secret_id',
  'env' => 'env',
  'merchant_id' => 'merchant_id',
 ],
]);
echo $response->getBody();
                    
                        
**Response: SUCCESS (200 OK)**
{
 "message": {
 "success": [
  "Successfully token is generated"
 ]
},
"data": {
 "token":"eyJpdiI6InpkczhjTjhQdVhUL2lKQ0pSUUx6aUE9P
SIsInZhbHVlIjoiVGVBTVBDTXltbjNZcEIvdEJveGpTSno3TU5NRUtn
VkhCZ1pHTFNCUnZGQ2UxMnYxN202cEE1YVRDTEFsc0ZERExoTjdtL0dTL2x
oU3QzeUJJOExiMUx5T0w1L0llUXhTUkU1cWVLWEdEbEplb0dKNXcwbTNRM0
VxdkUwYzZuNFdtNkhMQ0pRZysyNWkvdzBxSlBoSVBSOGFTekNnR2RXNHVtc
G9lMGZOTmNCcm1hR3c5Sk9KTnB4Y3ltZDl6cm90MThrR21Ca3B1azc3bXRi
Q0J6SW96UVo1elNkU1ZqeE05bTcwWGp1MEUxWlJFdnNWTmpSbnVpeW92b2U
4dXZkUGgyb1VmK0luaGdyaFlsVTZlcVpVRnZlTG1DeFF6Ykk2T2h6Z3Jzbn
IyNHpNdHowSE5JdDR0Y0pZT20zUm1XYW8iLCJtYWMiOiJlY2M4NGE1OGUzYz
kzYzk0YzljNmVmNjE0YWI0ZDIwOGI3NDQ2YWEyY2ZhNzc0NzE4ZmY1ZmYyMz
IyZmQzNDY1IiwidGFnIjoiIn0=",
},
"type": "success"
}
                    
                        
**Response: ERROR (400 FAILED)**
{
 "message": {
 "error": [
  "Invalid credentials."
 ]
},
"data": null,
"type": "error"
}