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
-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",
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