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
Last revision Both sides next revision
moneypolocard [2016/11/08 13:23]
Dmitry Tserashonak [OrderCard]
moneypolocard [2016/12/07 12:57]
Dmitry Tserashonak
Line 830: Line 830:
 { {
     $result = $wsRequest->​Send('​GetCardTransactionStatus'​);​     $result = $wsRequest->​Send('​GetCardTransactionStatus'​);​
 +}
 +</​code>​
 +\\
 +\\
 +\\
 +===== GetCardBalance =====
 +This method’s purpose is to get MoneyPolo card balance.
 +
 +** 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 ^
 +| CurrentBalance | Current Card Balance | |
 +| AvailableBalance | Available Card Balance | |
 +| AvailableBCBalance | Available Card Balance in Base Currency | |
 +| CurrentBCBalance | Current Card Balance in Base Currency | |
 +
 +**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('​GetCardBalance'​);​
 } }
 </​code>​ </​code>​
moneypolocard.txt · Last modified: 2016/12/07 13:12 by Dmitry Tserashonak