APIs


Integrations

Issuing API Documentation

For every API request, the following headers and parameters are required:

  • Header: Concatenated AES 128-bit ECB encrypted value of (api_user, api_key, current_timestamp) using secret key. Use Pipe (|) as a separator.
  • Parameters:
    • - GET Requests: Include these parameters in the parameters area
    • - POST Requests: Include these parameters in the request JSON body.
Variable NameDescriptionRequiredExpected Value
api_usernameUnique API username associated with the accountYesString
api_keyUnique API key associated with the accountYesString
  • - API username, API key, and secret key will be provided upon onboarding.
  • - All dates and times are in GMT.

Spending Profiles APIs

Spending Profile List


  • Name of API:

    List of Spending Profiles Against Account
  • Description:

    Get a list of all spending profiles associated with an account.
  • URL:

    https://issuing.tcbpay.com/apis/spendingprofile/list
  • Sandbox endpoint URL:

    https://issuing-stg.tcbpay.com/apis/spendingprofile/list
  • Method:

    GET

Example Response Payload(JSON)

Copied
{
	"message": "Spending profile list successfully recieved.",
	"data": {
    	"profiles": [
       {
       "spending_profile_details": {
		"spending_profile_uid": "{unique id of spending profile}",
    		"sp_name": "spending profile name"
"cycle_type": "M",
"cycle_reset_day": "23",
		"cycle_spending_limit": 10000,
		"daily_spending_limit": 2000,
		"max_amt_per_tran": 1000,
		"created_date": "0000-00-00 00:00:00",
		"modified_date": "0000-00-00 00:00:00",
"deleted_date": "0000-00-00 00:00:00"
"is_deleted": "NO"
        	}
}
    	]
	}
}
We use cookies to offer you a better experience, and analyze site traffic.
By continuing to use this website, you consent to the use of cookies in accordance with our Cookies Policy.