예제 #1
0
 /**
  * Creates a new Signature Request based on the template provided
  *
  * @param  TemplateSignatureRequest $request
  * @return SignatureRequest
  * @throws BaseException
  */
 public function sendTemplateSignatureRequest(TemplateSignatureRequest $request)
 {
     $response = $this->rest->post(static::TEMPLATE_SIGNATURE_REQUEST_PATH, $request->toParams());
     $this->checkResponse($response);
     return new SignatureRequest($response);
 }