Get Subscriptions Widget For Offering

This method will return the Widget details for a particular offering.

Request Method : POST

Request Parameters

Parameter Required Type Description
clientID yes string Transact API Client ID
developerAPIKey yes string Transact API developer API Key
offeringId yes integer Offering ID generated by the API
tradeId no integer Trade ID generated by the API

Sample Request

curl -k -X POST https://api.norcapsecurities.com/tapiv3/index.php/v3/getSubscriptionWidget
-d developerAPIKey=somedeveloperkey
-d clientID=someclientid
-d offeringId=55591
-d tradeId=555919086

Response Parameters

Parameter Type Description
statusCode string API Status Code
statusDesc string API Status Description
document_details string Returns the Widget details as an array, widget code resulted in an encoded format, users need to decode it by applying base64_decode() function.

Sample Response

{
 "statusCode": "101",
 "statusDesc": "Ok",
 "document_details": [
      {
       "templateId": "55",
       "templateName": "ABC Copmpany",
       "templateKey":"XEXZP636F3A3A36",
"widget":"PHNjcmlwdCB0eXBlPSd0ZXh0L2phdmFzY3JpcHQnIGxhbmd1YWdlPSdKYXZhU2NyaXB0JyBzcmM9J2h0dHBzOi8vc2VjdXJlLmVjaG9zaWduLmNvbS9wdWJsaWMvZW1iZWRkZWRXaWRnZXQ/d2lkPTJBQUFCTGJscVpoREdSUzZHRFB1Q0Z2aXpZWmFob1VERXVZdWx2bGE5cmJQRUpib0RER3pJR29hQ1VRcUdBN1h6YlY4M3J6UmxieFEqJz48L3NjcmlwdD4=",  
	"documentKey":"XPYYTPN375W3AJP",
	"offeringId":"55591"
        
      }
     ]
}
Click on the "Test it yourself" button to see how it works
Click on the "Error Codes" button to see list of error codes

Custodial Account