In-App Stored Card Update

Update Expiry Date, Cardholder Name, or Custom Name of a Stored Card

Purpose

This method is used by myPOS Checkout API to allow the cardholder to securely update the expiry date, cardholder name, and the custom name of an already stored card. The customer will remain within the pages of the external application. All needed data (including payment card details) will be collected and submitted to myPOS Checkout API by the external app. myPOS Checkout API will return an XML/JSON with the result.

Method Properties

PropertyTypical ValueTypeRequiredDescription
CardToken1041333312721BC752C1AB7743D0821AA1C9CA09String (50)YESUniquely generated token of the PAN of the card (returned as a response property of IPCIAPurchase).
CardholderNameJohn SmithString (30)YESNew name on the card
CardType1N(1)YESPlease refer to Card Types.
ExpDateByte[]BASE64YESNew expiry date, encoded
CVCByte[]BASE64YESCard CVC, encoded
ECI6N(1)YESElectronic Commerce Indicator
AVVByte[]BASE64ConditionalRequired when the card is 3DS enabled
XIDByte[]BASE64ConditionalRequired when the card is 3DS enabled
CardVerification2N(2)YESSpecify whether the card data to be verified or not before storing.
Amount23.45DoubleConditionalAmount of the transaction. Used in the request if CardVerification = 2.
CurrencyEURA(3)ConditionalISO 3-character currency code. Used in the request if CardVerification = 2.
OutputFormatxmlStringNOOutput format of data. Can be “xml” or “json”. Default is “xml”.

Partner Identification

If you are part of our Partners Program, you will need to submit these two additional parameters with each of your requests to the API. This will provide you with analytics about the usage in your myPOS Partners Portal account and help our support teams assist you better.

Note: This requires you to set the API version of your requests to 1.4.1. No other changes in the code/requests are necessary.

PropertyTypical ValueTypeDescription
PartnerIDmps-p-XXXXXXXXStringIdentical number for the partner
ApplicationIDmps-app-XXXXXXXXStringIdentical number for the application

Response Properties

PropertyTypical ValueTypeDescription
CardToken1041333312721BC752C1AB7743D0821AA1C9CA09String (50)Uniquely generated token of the PAN of the card (returned as a response property of IPCIAPurchase).
PAN4885N(4)Last four digits of the account number (PAN).
ExpDate1703N(4)Card expire date. Format YYMM.
CardType1N(1)Please refer to Card Types.

Important Notes

  • You must be PCI SAQ-D certified to use this method due to handling sensitive card data.
  • If you're using 3D Secure, make sure to send AVV and XID.
  • This API is ideal for subscription-based platforms or wallet services that allow customers to manage their stored cards.

Example Request

<IPC_response>
    <IPCmethod>IPCIAStoredCardUpdate</IPCmethod>
    <PAN>4885</PAN>
    <ExpDate>1703</ExpDate>
    <CardType>1</CardType>
    <Status>0</Status>
    <StatusMsg>Success</StatusMsg>
</IPC_response>