POST api/Partner
Request Information
URI Parameters
None.
Body Parameters
InterswitchRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerInformationRequest | CustomerInformationRequest |
None. |
|
| PaymentNotificationRequest | PaymentNotificationRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerInformationRequest": {
"#text": [
"sample string 1",
"sample string 2"
],
"MerchantReference": "sample string 1",
"CustReference": "sample string 2",
"PaymentItemCode": "sample string 3",
"ThirdPartyCode": "sample string 4",
"ServiceUsername": "sample string 5",
"ServicePassword": "sample string 6",
"FtpUsername": "sample string 7",
"FtpPassword": "sample string 8"
},
"PaymentNotificationRequest": {
"ServiceUrl": "sample string 1",
"ServiceUsername": "sample string 2",
"ServicePassword": "sample string 3",
"MerchantReference": "sample string 4",
"FtpUrl": "sample string 5",
"FtpUsername": {},
"FtpPassword": {},
"Payments": {
"Payment": {
"IsRepeated": "sample string 1",
"ProductGroupCode": "sample string 2",
"PaymentLogId": "sample string 3",
"CustReference": "sample string 4",
"AlternateCustReference": "sample string 5",
"Amount": "sample string 6",
"PaymentStatus": "sample string 7",
"PaymentMethod": "sample string 8",
"PaymentReference": "sample string 9",
"TerminalId": {},
"ChannelName": "sample string 11",
"Location": "sample string 12",
"IsReversal": "sample string 13",
"PaymentDate": "sample string 14",
"SettlementDate": "sample string 15",
"InstitutionId": "sample string 16",
"InstitutionName": "sample string 17",
"BranchName": "sample string 18",
"BankName": "sample string 19",
"FeeName": {},
"CustomerName": {},
"OtherCustomerInfo": "sample string 22",
"ReceiptNo": "sample string 23",
"CollectionsAccount": "sample string 24",
"ThirdPartyCode": {},
"PaymentItems": {
"PaymentItem": {
"ItemName": "sample string 1",
"ItemCode": "sample string 2",
"ItemAmount": "sample string 3",
"LeadBankCode": "sample string 4",
"LeadBankCbnCode": "sample string 5",
"LeadBankName": "sample string 6",
"CategoryCode": {},
"CategoryName": {},
"ItemQuantity": "sample string 9"
}
},
"BankCode": "sample string 26",
"CustomerAddress": {},
"CustomerPhoneNumber": {},
"DepositorName": {},
"DepositSlipNumber": "sample string 30",
"PaymentCurrency": "sample string 31",
"OriginalPaymentLogId": {},
"OriginalPaymentReference": {},
"Teller": "sample string 34"
}
}
}
}
application/xml, text/xml
Sample:
<InterswitchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CHICoreRestAPI.Results">
<CustomerInformationRequest xmlns:d2p1="http://schemas.datacontract.org/2004/07/CHICoreRestAPI.Core.Contracts.Helpers">
<d2p1:CustReference>sample string 2</d2p1:CustReference>
<d2p1:FtpPassword>sample string 8</d2p1:FtpPassword>
<d2p1:FtpUsername>sample string 7</d2p1:FtpUsername>
<d2p1:MerchantReference>sample string 1</d2p1:MerchantReference>
<d2p1:PaymentItemCode>sample string 3</d2p1:PaymentItemCode>
<d2p1:ServicePassword>sample string 6</d2p1:ServicePassword>
<d2p1:ServiceUsername>sample string 5</d2p1:ServiceUsername>
<d2p1:Text xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</d2p1:Text>
<d2p1:ThirdPartyCode>sample string 4</d2p1:ThirdPartyCode>
</CustomerInformationRequest>
<PaymentNotificationRequest>
<FtpPassword />
<FtpUrl>sample string 5</FtpUrl>
<FtpUsername />
<MerchantReference>sample string 4</MerchantReference>
<Payments>
<Payment>
<AlternateCustReference>sample string 5</AlternateCustReference>
<Amount>sample string 6</Amount>
<BankCode>sample string 26</BankCode>
<BankName>sample string 19</BankName>
<BranchName>sample string 18</BranchName>
<ChannelName>sample string 11</ChannelName>
<CollectionsAccount>sample string 24</CollectionsAccount>
<CustReference>sample string 4</CustReference>
<CustomerAddress />
<CustomerName />
<CustomerPhoneNumber />
<DepositSlipNumber>sample string 30</DepositSlipNumber>
<DepositorName />
<FeeName />
<InstitutionId>sample string 16</InstitutionId>
<InstitutionName>sample string 17</InstitutionName>
<IsRepeated>sample string 1</IsRepeated>
<IsReversal>sample string 13</IsReversal>
<Location>sample string 12</Location>
<OriginalPaymentLogId />
<OriginalPaymentReference />
<OtherCustomerInfo>sample string 22</OtherCustomerInfo>
<PaymentCurrency>sample string 31</PaymentCurrency>
<PaymentDate>sample string 14</PaymentDate>
<PaymentItems>
<PaymentItem>
<CategoryCode />
<CategoryName />
<ItemAmount>sample string 3</ItemAmount>
<ItemCode>sample string 2</ItemCode>
<ItemName>sample string 1</ItemName>
<ItemQuantity>sample string 9</ItemQuantity>
<LeadBankCbnCode>sample string 5</LeadBankCbnCode>
<LeadBankCode>sample string 4</LeadBankCode>
<LeadBankName>sample string 6</LeadBankName>
</PaymentItem>
</PaymentItems>
<PaymentLogId>sample string 3</PaymentLogId>
<PaymentMethod>sample string 8</PaymentMethod>
<PaymentReference>sample string 9</PaymentReference>
<PaymentStatus>sample string 7</PaymentStatus>
<ProductGroupCode>sample string 2</ProductGroupCode>
<ReceiptNo>sample string 23</ReceiptNo>
<SettlementDate>sample string 15</SettlementDate>
<Teller>sample string 34</Teller>
<TerminalId />
<ThirdPartyCode />
</Payment>
</Payments>
<ServicePassword>sample string 3</ServicePassword>
<ServiceUrl>sample string 1</ServiceUrl>
<ServiceUsername>sample string 2</ServiceUsername>
</PaymentNotificationRequest>
</InterswitchRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>