Function: GetExtendedPODetails
The GetExtendedPODetails function returns extended information for a specific payment order A single payment instruction for a payee. The system searches for the payment order by RefCode.
- EAT Encryption Additional Terms parameter: poRefCode
- API version: V6
The following is a sample SOAP 1.2 request and response. In the request, you need to replace the data types in yellow with actual values.
SOAP 1.2: Request
POST /v6/payeefunctions.asmx HTTP/1.1
Host: api.tipalti.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetExtendedPODetails xmlns="http://Tipalti.org/">
<payerName>string</payerName>
<timestamp>double</timestamp>
<key>string</key>
<poRefCode>string</poRefCode>
</GetExtendedPODetails>
</soap12:Body>
</soap12:Envelope>
SOAP 1.2: Response
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetExtendedPODetailsResponse xmlns="http://Tipalti.org/">
<GetExtendedPODetailsResult>
<errorMessage>string</errorMessage>
<errorCode>string</errorCode>
<b>boolean</b>
<i>integer</i>
<d>double</d>
<s>string</s>
<Properties>
<KeyValuePair>
<Key>string</Key>
<Value>string</Value>
</KeyValuePair>
<KeyValuePair>
<Key>string</Key>
<Value>string</Value>
</KeyValuePair>
</Properties>
<CustomFields>
<KeyValuePair>
<Key>string</Key>
<Value>string</Value>
</KeyValuePair>
<KeyValuePair>
<Key>string</Key>
<Value>string</Value>
</KeyValuePair>
</CustomFields>
</GetExtendedPODetailsResult>
</GetExtendedPODetailsResponse>
</soap12:Body>
</soap12:Envelope>
Request parameters
|
element |
description |
limitation |
Mandatory? |
data type |
|---|---|---|---|---|
| payerName | The name of the payer, as assigned by Tipalti |
|
Mandatory | string |
| timestamp |
Current time (UTC) when the request is sent |
Unix time | Mandatory | double |
| key | Encryption key | Mandatory | string | |
| poRefCode | The reference code for the payment order |
|
Mandatory | string |
Response parameters
|
element |
description |
data type |
|---|---|---|
| GetExtendedPODetailsResult | Contains the response parameters | TipaltiExtendedPaymentOrderResponse (extension of type TipaltiResponse) |
TipaltiExtendedPaymentOrderResponse
|
element |
description |
Limitation |
data type |
|---|---|---|---|
| errorMessage | A description of the error | See API error codes. | string |
| errorCode | The status of the error | See API error codes. | string |
| b | If the return code is Boolean, this parameter will carry the value. | boolean | |
| i | If the return code is integer, this parameter will carry the value. | integer | |
| d | If the return code is double, this parameter will carry the value. | double | |
| s | If the return code is string, this parameter will carry the value. | string | |
| Properties | List of payment order values (see List of payment order fields below) | Array of KeyValuePair | |
| CustomFields |
|
Field name and value | Array of KeyValuePair |
KeyValuePair
|
Element |
description |
Mandatory? |
data type |
|---|---|---|---|
| Key | Name of field | Optional | string |
| Value | Value of field | Optional | string |
List of payment order fields
|
field |
description |
Limitation |
data type |
|---|---|---|---|
| Idap | Unique payee identifier (the payee ID) |
|
string |
| RefCode | The reference code for the payment order |
|
string |
| SubmissionDate | The date and time the payment was submitted to Tipalti | MMM DD, YYYY hh:mm:ss.sss | dateTime |
| AmountSubmitted | The amount submitted for payment | double | |
| AmountSubmittedCurrency | The currency of the amount submitted | Length = 3 (per ISO 4217) | string |
| PaymentMethod | Payee payment method |
Valid values:
|
string |
| Status | The status of the payment order | See Statuses. | string |
| PayerFees |
|
double | |
| PayeeFees |
|
double | |
| SubmittedCurrencyTo PayeeCurrencyFxRate |
|
||
| PayerFXFees | The foreign exchange fee for conversion of submitted currency to payer account currency | double | |
| WithdrawCurrency | The currency of the payer account used for the payment | Length = 3 (per ISO 4217) | string |
| WithdrawAmount | The total amount deducted, by Tipalti, from the payer account | double | |
| NetAmount | Sum of all bill lines |
|
double |
| ValueDate | Estimated date and time the payee will receive the funds | MMM DD, YYYY hh:mm:ss.sss | dateTime |
| Message | The payer's EWalletMessage that was attached to the payment |
|
string |
| BankingMessage | The payer's banking message that was attached to the payment |
|
string |
| EmailSubject | The payer's EmailMessage that was attached to the payment |
|
string |
| TxnReference | Payment provider's transaction reference code | Max. length = 450 | string |
| PaymentAmount | Amount paid to the payee (in the payment currency) | double | |
| PaymentCurrency | The payment currency selected by the payee | Length = 3 (per ISO 4217) | string |
| ErrorMessages | If the payment has errors, a list of these errors is returned. | See Payment error codes. | Array of string |
| ScheduledDate | If the payment is a scheduled payment, this field returns the scheduled date and time. | MMM DD, YYYY hh:mm:ss.sss | dateTime |
| EstimatedProviderFees | Additional fees that may be required by the provider | double | |
| LiftingFees | Fee charged by the bank on a returned payment | double | |
| WithholdingAmount |
|
double | |
| WithholdingAmountUSD |
|
double | |
| WithholdingRate |
|
string | |
| TreatyCountry |
|
string | |
| IncomeTypeCode |
|
See Income types. | string |
| IncomeType |
|
|
string |
| InvoiceRefCode | The reference code for the invoice |
|
string |
| PayerEntityName | The payer entity linked to the payment order |
|
string |
| AccountIdentifier | An identifier for the provider account | string | |
| EarlyPayment | Indicates if the payment is an early payment | boolean | |
| PayeeEarlyPaymentFee |
|
double | |
| PayeeFXFee | The foreign exchange fee for conversion of submitted currency to payee selected currency | double | |
| PayerExchangeRate |
|
double | |
| PaymentAmountIn WithdrawCurrency |
|
double | |
| TxnDate | The date the payment becomes finalized | MMM DD, YYYY hh:mm:ss.sss | dateTime |
| BankAccount (or CreditCard) | The ID of the bank account or credit card used to pay the payment order (only relevant for bills paid manually) | string | |
| PayerEntityCountryISO | The ISO code for the payer entity country | Length = 2 (per ISO 3166) | string |