PaymentAccountChangedNotification
The handlePaymentAccountChangedNotification web method is called by the PaymentService whenever a change in a payment account occurs. This could happen for example when:
- a payment account is deactivated (
isActive=false
) in PaymentService Admin Tool - attributes of a payment account are added/updated during the processing of the corresponding payment with the payment provider (e.g. provider sends back additional user account data).
handlePaymentAccountChangedNotification
Which Payment Account types can be notified?
All Payment Account types (e.g. cards, bank accounts, wallet accounts) can be notified.
Example handlePaymentAccountChangedNotificationRequest
for notifying a Card Payment Account creation:
<?xml version="1.0" encoding="utf-8"?>
<handlePaymentAccountChangedNotificationRequest xmlns="http://www.cqrpayments.com/PaymentProcessing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<paymentAccount>
<merchantID>29101992</merchantID>
<userID>85fbd7a9-4b48-44ce-81b0-5880940b4a6c</userID>
<paymentAccountID>91ae41b1-227c-4dd2-b4e2-b80ee68f242e</paymentAccountID>
<paymentAccountTypeID>1</paymentAccountTypeID>
<isActive>true</isActive>
<isVisible>true</isVisible>
<specificPaymentAccountData>
<data xsi:type="keyStringValuePair">
<key>MaskedNumber</key>
<value>41************11</value>
</data>
<data xsi:type="keyStringValuePair">
<key>AccountOwnerToken</key>
<value>5b8d649c-10ee-4e19-96db-b796e6052b47</value>
</data>
<data xsi:type="keyIntValuePair">
<key>ExpiryMonth</key>
<value>4</value>
</data>
<data xsi:type="keyIntValuePair">
<key>ExpiryYear</key>
<value>2020</value>
</data>
<data xsi:type="keyStringValuePair">
<key>HolderName</key>
<value>Max Mustermann</value>
</data>
<data xsi:type="keyStringValuePair">
<key>CardType</key>
<value>Visa</value>
</data>
<data xsi:type="keyStringValuePair">
<key>IssuerCountry</key>
<value>AT</value>
</data>
<data xsi:type="keyStringValuePair">
<key>AccountFundingSource</key>
<value>Debit</value>
</data>
<data xsi:type="keyStringValuePair">
<key>IssuerName</key>
<value>BANCO DO BRASIL S.A.</value>
</data>
<data xsi:type="keyBooleanValuePair">
<key>Is3DSecureEnabled</key>
<value>true</value>
</data>
<data xsi:type="keyDateTimeValuePair">
<key>LastSuccessfulDepositOn</key>
<value>2015-09-15T12:30:00</value>
</data>
</specificPaymentAccountData>
<state>
<id>c96ace43-e397-4c7c-975f-4df01c8c78e1</id>
<definition>1</definition>
<createdOn>2016-06-06T12:14:15.4090206Z</createdOn>
<paymentAccountStateDetails />
</state>
</paymentAccount>
</handlePaymentAccountChangedNotificationRequest>
Example handlePaymentAccountChangedNotificationResponse
to be sent back by the merchant:
<?xml version="1.0" encoding="utf-8"?>
<handlePaymentAccountChangedNotificationResponse
xmlns="http://www.cqrpayments.com/PaymentProcessing"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
</handlePaymentAccountChangedNotificationResponse>
Updated almost 3 years ago