The Signer Gateway supports two REST API calls to check transaction status and retrieve signed documents
Use the “Transaction Status Request” method to retrieve transaction status such as whether transaction is Completed or Failed or Initiate
To test the retrieval of signing gateway, please try the test URL below
Parameter | Data Type | Description |
---|---|---|
AuthToken * | String | Pass valid URL encoded Authtoken. Eg: cbFdZK9esvBzZQ1QynL7IjKb7t92K%2BB4SoEzVA%3D |
Transactionnumber * | String | Pass unique transaction number received in the Step6. |
Referencenumber * | AlphaNumeric | Pass unique random number as reference number for each transaction request. Example: 1213 Note: You can pass timestamp as a reference number to create uniqueness. You are not allowed to pass reference number which has been used for any of the previous transactions. Eg: 00000000000110 |
Parameter | Data Type | Description |
---|---|---|
IsSuccess | Boolean | Returns TRUE if request is success otherwise FALSE |
Messages | Collection of String | If IsSuccess is true it will return “Transaction Status successfully retrieved”. |
Value | Collection of Info | |
Transactionnumber | String | Returns transaction number that is received in request. |
Referencenumber | String | Returns reference number that is received in request. |
Status | String | Returns Completed, if signing is done successfully otherwise Failed. Returns Initiate, if user just initiated and left in the middle. |
ErrorMessage | Collection of String | Returns error message if transaction status retrieval failed. Refer error messages section 1.9 |
Error Code | Error Msg | Description |
---|---|---|
201 | Invalid Parameters | When any parameter is empty/invalid. |
202 | Invalid Operation | If API call is invalid |
Use the “SignedDataRequest” API to retrieve data signed through the signer gateway
Type of Method – GET
To test the retrieval of signed data from signer gateway, please try the test URL below
Parameter | Data Type | Description |
---|---|---|
AuthToken * | String | Pass valid URL encoded Authtoken. Eg: cbFdZK9esvBzZQ1QynL7IjKb7t92K%2BB4SoEzVA%3D |
Transactionnumber * | String | Pass unique transaction number received in the Step6. |
Referencenumber * | AlphaNumeric | Pass unique random number as reference number for each transaction request. Example: 1213 Note: You can pass timestamp as a reference number to create uniqueness. You are not allowed to pass reference number which has been used for any of the previous transactions. Eg: 00000000000110 |
Parameter | Data Type | Description |
---|---|---|
IsSuccess | Boolean | Returns TRUE if request is success otherwise FALSE |
Messages | Collection of String | If IsSuccess is true it will return “Transaction Status successfully retrieved”. |
Value | Collection of Info | |
Status | String | Returns Completed, if signing is done successfully otherwise Failed. Returns Initiate, if user just initiated and left in the middle. |
Transactionnumber | String | Returns transaction number that is received in request. |
Referencenumber | String | Returns reference number that is received in request. |
SignedData | Byte 64 String | Returns Encrypted Signed DATA, if signing is done successfully otherwise Failure. For decrypting the signed DATA refer step7 |
ErrorMessage | Collection of String | Returns error message if transaction status retrieval failed. Refer error messages section 1.9 |
Error Code | Error Msg | Description |
---|---|---|
204 | Invalid Authtoken | When invalid Authtoken is entered |
205 | Invalid parameters | When any parameter is empty |
206 | Invalid Operation | If API call is invalid |
207 | No signed data found | If signed data is not available for the account |
The response from API returns encrypted Signed Data which can be decrypted using the session key that was generated while sending the signing request
To decrypt the signed data, please use the code snippet below
If you sent the document in a compressed format, please use the code below to de-compress the document