News
Here you see the latest announcements
Field Name | Len | Type | Req | Ver | Comments |
method | N/A | Alp-Num | Yes | 1.1 | newsInquiry |
fromEmail | N/A | Alp-Num | Yes | 1.1 | The email associated with the account from which the amount is deducted |
key | N/A | Alp-Num | Yes | 1.2 | MD5(sharedSecret + fromEmail) |
This request is responded by a message with the following content:
Field Name | Len | Type | Mdt | Ver | Comments |
ResponseCode | N/A | Alp-Num | Yes | 1.1 | The response code; 00 = Success; |
ResponseDescription | N/A | Alp-Num | Yes | 1.1 | Human readable response |
Fee | N/A | Real | Yes | 1.1 | Fee for the current transaction Fee for the current transaction |
Announcements / Announcement / Title | N/A | Alp-Num | -- | 1.1 | the news title |
Announcements / Announcement / Body | N/A | Alp-Num | -- | 1.1 | the news body |
Announcements / Announcement / Published | N/A | Alp-Num | -- | 1.1 | date of the announcement |
Request Sample:
https://secure.paxum.com/payment/api/paymentAPI.php POST method=newsInquiry&fromEmail=payee@domain.com&key=361a4499be18f4f68c62e1ddd1ad928f
Response Sample
<?xml version="1.0"?> <Response> <Environment>PRODUCTION</Environment> <Method>news</Method> <ResponseCode>00</ResponseCode> <ResponseDescription>Approved or Completed Successfully</ResponseDescription > <Fee>0.00</Fee> <Announcements> <Announcement> <Title>New Api Methods</Title> <Body>We offer you new api methods</Body> <Published>2011-12-19</Published> <Announcement> ... </Announcements> </Response>
Working Sample(s):
newsInquiry.php