<back to all web services
GetPayNowToken
The following routes are available for this service:POST | /api2/InvoiceLink/PayNow/Token | | |
---|
GetPayNowToken Parameters:Name | Parameter | Data Type | Required | Description |
---|
Key | body | string | No | |
PaymentInfo | body | string | No | |
PayablesKeys | body | IEnumerable<PayableKey> | No | |
PayableKey Parameters:Name | Parameter | Data Type | Required | Description |
---|
Id | form | int | No | |
Amount | form | decimal | No | |
SharedObjectType | form | string | No | |
IsTrust | form | bool | No | |
IsSurchargeTransferEnabled | form | bool | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /api2/InvoiceLink/PayNow/Token HTTP/1.1
Host: zolacaseway.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetPayNowToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClientPortalService.Invoices">
<Key>String</Key>
<PayablesKeys xmlns:d2p1="http://schemas.datacontract.org/2004/07/ClientPortalService.Common" i:nil="true" />
<PaymentInfo>String</PaymentInfo>
</GetPayNowToken>