
Here you can settle the authorization request
| Field Name | Len | Type | Req | Ver | Comments |
|---|---|---|---|---|---|
| method | N/A | Alp-Num | Yes | 1.2 | settle |
| fromEmail | N/A | Alp-Num | Yes | 1.2 | The email associated with the account from which the authorize is made |
| merchantAccountId | N/A | Num | Yes | 1.2 | Acquiring Merchant ID |
| transactionId | N/A | Num | Yes | 1.2 | The Authorization transaction ID |
| referenceId | N/A | Alp-Num | Yes | 1.2 | Your internal identification |
| shippingCompany | N/A | Alp-Num | -- | 1.2 | Shipping Company name |
| shippingAwb | N/A | Num | -- | 1.2 | The bill’s number from the company that handles the shipping. |
| key | N/A | Alp-Num | Yes | 1.2 | MD5(sharedSecret + merchantAccountId + transactionId + referenceId + shippingCompany + shippingAwb) |
This request is responded by a message with the following content:
| Field Name | Len | Type | Mdt | Ver | Comments |
|---|---|---|---|---|---|
| ResponseCode | 2 | Alp-Num | Yes | 1.2 | The response code; 00 = Success; |
| ResponseDescription | N/A | Alp-Num | Yes | 1.2 | Human readable response |
| Fee | N/A | Real | Yes | 1.2 | Fee for the current transaction |
| TransactionId | N/A | Alp-Num | Yes | 1.2 | The Authorization transaction ID |
| ReferenceId | N/A | Num | Yes | 1.2 | Your internal identification |
| StatusId | N/A | Num | Yes | 1.2 | Settlement Status 2 = Active 4 = Canceled 23 = Pending 25 = Failed 40 = Incomplete |
Request Sample:
https://secure.paxum.com/payment/api/paymentAPI.php
POST
method=settle&fromEmail=payee%40domain.com&trasactionId=123456&referenceId=225845&shippingCompany=shippingCompany&shippingAwb=123456&key=43003c21814cbf5c8f3bcfabbca6a473
Response Sample
<?xml version="1.0"?>
<Response>
<Environment>PRODUCTION</Environment>
<Method>settle</Method>
<ResponseCode>00</ResponseCode>
<ResponseDescription>Approved or Completed Successfully</ResponseDescription >
<Fee>0.00</Fee>
<TransactionId>23646236</TransactionId>
<ReferenceId>225845</ReferenceId>
<Status>23</Status>
</Response>
Working Sample(s):
settle.php