User Tools

Site Tools


moneypolocard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
moneypolocard [2016/11/08 13:23]
Dmitry Tserashonak [OrderCard]
moneypolocard [2016/12/07 13:12]
Dmitry Tserashonak [GetCardBalance]
Line 863: Line 863:
 { {
     $result = $wsRequest->​Send('​GetCardBalance'​);​     $result = $wsRequest->​Send('​GetCardBalance'​);​
 +}
 +</​code>​
 +\\
 +\\
 +\\
 +===== GetCardBalanceAsync =====
 +This method’s purpose is to store request for MoneyPolo card balance.
 +You will receive an event with TypeCode - MPCBALANCE, please see - [[eventnotificationextended|Event Notifications - extended version]]
 +
 +** Input parameters of the method are: **
 +
 +^ Name                   ^ Type   ^ Required ​  ^ Example ​              ^ Description ​           ^
 +| AccountPersonCardData|object|*|See object [[#​MoneyPoloAccountPersonCardData_object|MoneyPoloAccountPersonCardData]] ||
 +
 +** Output parameters of the method are: **
 +^ Name ^ Type ^ Description ^
 +| RequestID | Request ID | |
 +
 +**Signature:​**
 +PersonAccountID + PersonRUID + MPC_CardID + Key
 +
 +** PHP Example **
 +<code php>
 +//​GetCardBalance
 +$request['​AccountPersonCardData'​]['​AccountPersonData'​]['​PersonAccountID'​] = '​1234';​
 +$request['​AccountPersonCardData'​]['​AccountPersonData'​]['​PersonRUID'​] = '​5647';​
 +$request['​AccountPersonCardData'​]['​MPC_CardID'​] = '​123456';​
 +
 +if($wsRequest->​Prepare_Data($request))
 +{
 +    $result = $wsRequest->​Send('​GetCardBalanceAsync'​);​
 } }
 </​code>​ </​code>​
moneypolocard.txt · Last modified: 2016/12/07 13:12 by Dmitry Tserashonak