コード例 #1
0
 protected AddDocRequest CreateAddDocRequest(SynapseUserOAuth oauth)
 {
     return new AddDocRequest
     {
         OAuth = oauth,
         Attachment = GetTextResource("Base64Attachment.txt"),
         Fingerprint = Fingerprint
     };
 }
コード例 #2
0
 protected AddACHNodeRequest CreateAddACHNodeRequest(SynapseUserOAuth oauth)
 {
     return new AddACHNodeRequest
     {
         OAuth = oauth,
         AccountClass = SynapseNodeClass.Checking,
         AccountNumber = "1234",
         RoutingNumber = "021000021", //Chase NYC
         AccountType = SynapseNodeType.Personal,
         Fingerprint = Fingerprint,
         LocalId = "1234",
         NameOnAccount = "Freddy Krueger Jr.",
         Nickname = "Freddy's Chase Checking"
     };
 }
コード例 #3
0
 protected AddKycRequest CreateKycRequest(SynapseUserOAuth oauth)
 {
     return new AddKycRequest
     {
         OAuth = oauth,
         Address1 = "1428 Elm Street",
         Address2 = "#4",
         City = "Brooklyn",
         State = "New York",
         PostalCode = "11215",
         CountryCode = "US",
         DateOfBirth = DateTime.Parse("10/19/1979").Date,
         DocumentType = SynapseDocumentType.SSN,
         DocumentValue = this.Person.DocumentValue,
         Fingerprint = Fingerprint,
         FirstName = this.Person.FirstName,
         LastName = this.Person.LastName
     };
 }