MoneyInGetCard
Why not upgrade your viewing experience! An updated version of this article is on our new documentation portal 👉 here |
---|
Check if Card is Registered
To ensure the end-users card has been registered, use this method before you make a repeat transaction. This method will enable you to check if the card was successfully registered.
Input
Key | Description | Value |
---|---|---|
ID | This is the cardId that is associated with the transaction | integer <int64> 109788 |
Output
Item | Description | Value |
---|---|---|
ID | This is the cardId that is associated with the end-user | 109788 |
REGISTERED | Boolean value
| 1 |
<EXTRA> | ||
<EXP>0122</EXP> | The card expiration date | 0122 |
<TYP>CB </TYP> | Card type | CB |
</EXTRA> |
Sample XML:
<GetCardResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="Service_mb_xml"> <CARD> <ID>109788</ID> <REGISTERED>1</REGISTERED> <EXTRA> <EXP>0122</EXP> <TYP>CB</TYP> </EXTRA> </CARD> </GetCardResult>
{
"card":{
"id":7,
"expiration":"0620",
"type":"CB",
"isRegistered":false
}
}