Prepaid Solutions

Overview

With our prepaid solution, you can extend prepaid products to customers without constraints such as credit rating, income, or bank account ownership. The solution includes issuer, branch, corporate, or cardholder web-based portals, enabling effortless sales, maintenance, load, and card or customer lifecycle management. These features empower non-banked customers to manage their finances like seasoned professionals, making financial management more accessible and straightforward.

Activate prepaid cards

Users can activate prepaid cards when they are first issued or after they have been deactivated for any reason.

Check card balances

Users can check the balance on a prepaid card in real-time or on a scheduled basis.

View transaction history

Users can view a detailed record of all transactions made with a prepaid card, including the date, time, amount, and location of each transaction.

 
Version

Card Transaction

Status:

Production

Version:

V2

Product:

Prepaid Solutions

Card Transaction

Overview

This API is designed to record financial transactions on a card or account level. It accepts an account or card identifier as an input, along with the transaction type, amount, and currency. Once the API receives this information, it will post the transaction, which could be a debit or credit to the account balance. This feature enables businesses to charge fees, process payments, or top up prepaid accounts. The API can also be used to monitor and track transaction activity for accounting and compliance purposes.

How It Works

The API allows for processing of financial transactions by accepting inputs such as an account or card identifier, transaction type, amount and currency. These inputs are validated to ensure their validity, including the card or account identifier, the supported transaction type, and the correct format of the amount and currency provided.

Once the input validation is successful, the API will process the transaction and update the account balance accordingly, based on whether it is a debit or credit transaction. For instance, a credit card payment will result in a debit of the specified amount from the cardholder's account balance, while a prepaid top-up will result in a credit to the cardholder's account balance.

The API will then return a response including transaction details such as a unique transaction identifier, status, and any other relevant details. It is important to note that this API is only applicable for transactions where the card issuer or financial institution holds the account balance, and is not intended for use with external wallets or store of value.

https://api-sandbox.network.global

Card Transaction

Status:

Production

Version:

V2

Product:

Prepaid Solutions
/SB/CardServices/Transaction/V2/CardTransaction
curl --location --request POST '#{PARAM_URL}' --header 'Authorization: Bearer {{ access_token }}' {custom_headers} --data-raw '#{JSON_PAYLOAD}'
curl --location --request GET 'https://api-sandbox.network.global/v1/tokenkc/generate' \--data-raw '#{JSON_PAYLOAD}'
curl --location --request POST 'https://api-sandbox.network.global/v1/tokenkc/generate' \--data-raw '#{JSON_PAYLOAD}'

Node Child Node Type Length Description
Authorization* requiredBearer xxxx* requiredstringAuthorization Header (Bearer Token)
Content-Type* requiredapplication/json* requiredstringContent Type

Node TypeTypeLengthDescription
NISrvRequestrequest_card_transactionheadermsg_id* requiredstring12Message ID, this field should be unique id for each Api call. This will be generated from client side. If the same message ID is used the system will decline the API call with Error Description “Duplicate Message ID”
msg_type* requiredstring12Message Type – This can have either “TRANSACTION” or “ENQUIRY” As for this API the value expected is “TRANSACTION”
msg_function* requiredstring50Static Value - REQ_CARD_TRANSACTION
src_application* requiredstring10Source Application: This is a free Text and the client can populate the source system from where the API is Initiated Example: IVR, IB, MB No Validations of these are kept at Network Systems
target_application* requiredstring10The target_application can hold any value from FI side, this can be used by FI to check the target system of the API call
timestamp* requiredstring30Timestamp of the request - Format YYYY-MM-DDtHH:MM:SS.SSS+04:00
bank_id* requiredstring4Bank Id is Unique Id 4 digit code for each client and the same will be provided once the client setup is completed in our core system. For sandbox testing – Please use “NIC”
bodycard_identifier_id* requiredstring32card identifier
card_identifier_type* requiredstring20CONTRACT_NUMBER is used for clear card number or EXID which is a unique identifier for the card generated by CMS
transactiontransaction_code* requiredstring32Transaction code For Payment- PAYCC For Reversal- PAYACC-REV For Debit- DEBITCC For Debit Reversal- DEBITCC-REV
amount* requiredstring20Amount
currency* requiredstring3Currency
descriptionstring255Transaction description
counter_party_numberstring20Source Number
transaction_ref_numberstring12Transaction reference number
custom_fieldskeystring32Custom Tag
valuestring128Tag value

{
    "NISrvRequest": {
        "request_card_transaction": {
            "header": {
                "msg_id": "89658",
                "msg_type": "TRANSACTION",
                "msg_function": "REQ_CARD_TRANSACTION",
                "src_application": "BNK",
                "target_application": "WAY4",
                "timestamp": "2024-03-19T14:55:18.587+04:00",
                "bank_id": "NIC"
            },
            "body": {
                "card_identifier_id": "99984100111514120378",
                "card_identifier_type": "EXID",
                "wallet_id": "",
                "transaction": {
                    "transaction_code": "PAYACC",
                    "amount": "66.00",
                    "currency": "AED",
                    "description": "Demo Manual Payment Transaction",
                    "counter_party_number": "999851",
                    "transaction_ref_number": "58986"
                }
            }
        }
    }
}

Node Child Node Type Length Description
Content-Typeapplication/jsonstringContent Type

Node TypeTypeLengthDescription
NISrvResponseresponse_card_transactionheadermsg_id* requiredstring12Unique Source Message ID eg ada123456fdsf
msg_type* requiredstring12Message Type – This can have either “TRANSACTION” or “ENQUIRY” As for this API the value expected is “TRANSACTION”
msg_function* requiredstring50Default RES_CARD_TRANSACTION
src_application* requiredstring10Source Application: This is a free Text and the client can populate the source system from where the API is Initiated Example: IVR, IB, MB No Validations of these are kept at Network Systems
target_application* requiredstring10The target_application can hold any value from FI side, this can be used by FI to check the target system of the API call
timestamp* requiredstring15Timestamp of the response - Format YYYY-MM-DDtHH:MM:SS.SSS+04:00
bank_id* requiredstring4Bank Id is Unique Id 4 digit code for each client and the same will be provided once the client setup is completed in our core system. For sandbox testing – Please use “NIC”
exception_detailsapplication_name* requiredstring20Application Name
date_time* requiredstring30Timestamp of the response Format “YYYY-MM-DD HH:MM:SS”
status* requiredstring1Status of the request (S/F)
error_code* requiredstring4EAI Internal Error Code (Check error codes section for the complete list of error codes and error code descriptions)
error_description* requiredstring100Error Description (Check error codes section for the complete list of error codes and error code descriptions)
transaction_ref_idstring20The tracking_id sent in the request will be sent back in response in this field.
bodycard_identifier_id* requiredstring32454545XXXXXX1234
card_identifier_type* requiredstring20CONTRACT_NUMBER is used for clear card number or EXID which is a unique identifier for the card generated by CMS
response_code* requiredstring
status* requiredstring1Status of the request

{
    "NISrvResponse": {
        "response_card_transaction": {
            "header": {
                "msg_id": "89658",
                "msg_type": "TRANSACTION",
                "msg_function": "REP_CARD_TRANSACTION",
                "src_application": "BNK",
                "target_application": "WAY4",
                "timestamp": "2024-03-19T14:56:14.784+04:00",
                "bank_id": "NIC"
            },
            "exception_details": {
                "application_name": "TCC-ADP",
                "date_time": "2024-03-19T14:56:14.784+04:00",
                "status": "S",
                "error_code": "000",
                "error_description": "Success"
            },
            "body": {
                "card_identifier_id": "99984100111514120378",
                "card_identifier_type": "EXID",
                "response_code": "0",
                "status": "Waiting"
            }
        }
    }
}

Code Description
200Sample Description
400Bad Request
401Unauthorized
403Forbidden
500Internal Server Error
502Bad gateway
503Scheduled Maintenance
504Gateway Timeout
596Service Not Found