Public
Documentation Settings

Noqoody Pay Sandbox API Documentation

POSTToken

https://sandbox.enoqoody.com/token

This API will be used to call the token

Bodyurlencoded
grant_type

password

username

username_here

password

password_here

POSTGenerate Link & Session

https://sandbox.enoqoody.com/api/PaymentLink/GenerateLinks

This API will generate the payment url which will directly redirect the user to Noqoody where the payment will be handeled automatically by the Noqoody System or the SessionID and UUID can be used in the PaymentChannels API for generatinig the links separately.

The SessionID and UUID in this API will be used for the PaymentChannel API in which all the payment options will be displayed in the form of an array with their respective links

How to generate Secure Hash (SHA256)

Please use the following link for reference on how to generate secure hash

https://www.jokecamp.com/blog/examples-of-creating-base64-hashes-using-hmac-sha256-in-different-languages/#js

Format: {CustomerEmail}{CustomerName}{CustomerMobile}{Description}{ProjectCode}{Reference}{Amount}

Please make sure that amount is in 2 decimal places. 3 decimal places will result in an invalid secure hash

You will need the Client Secret Key as the key value to generate the securehash

Secret Key & Project code can be retrieved from the Get Account Details section in this document

Bodyraw (json)
json
{
  "ProjectCode": "your_project_code",
  "Description": "description_less_than_40_characters_without_special_characters",
  "Amount": 1.00,
  "CustomerEmail": "customer@email.com",
  "CustomerMobile": "customer_mobile",
  "CustomerName": "customer_name",
  "SecureHash": "SHA256 Hash Value",
  "Reference": "your_unique_reference"
}

GETGenerating Payment Channels

https://sandbox.enoqoody.com/api/PaymentLink/PaymentChannels?session_id=sessionid_here&uuid=uuid_here

This API will consume the SessionID and UUID generated by GenerateLinks API and will return the list of payment channels along with the transacion details

PARAMS
session_id

sessionid_here

uuid

uuid_here

GETValidate Payment

https://sandbox.enoqoody.com/api/Members/GetTransactionDetailStatusByClientReference/?ReferenceNo=your_unique_reference

This API will validate the payment using your unique reference

AUTHORIZATIONBearer Token
Token

<token>

PARAMS
ReferenceNo

your_unique_reference

Loading