Pay | Flag Installments
Pay Request
The code below is an example pay request for installments.
<?xml version="1.0" encoding="UTF-8"?>
<root>
<pay account="101012" client-id="10101">
<transaction store-card="false" id="5297672">
<card type-id="7">
<amount country-id="405" currency-id="170">201000000</amount>
<issuer-identification-number>55443300000</issuer-identification-number>
</card>
<hmac>b7276562910d3de13562bd827547996b92b46d7bd8ce45b60930ede9cfb1a04f29f6a9a89d938c7b9a914b1eff8df2a2998eb5805eb082db98387baa31c7a530</hmac>
<billing-address country-id="405">
<full-name>Test Raje</full-name>
<street>141/2 Andul test</street>
<postal-code>711103</postal-code>
<city>Kolkata</city>
<state>Kolkata</state>
</billing-address>
<installment>
<value>5</value>
</installment>
</transaction>
<client-info language="en" sdk-version="2.0.0" version="2.0.0" platform="HTML5" profileid="">
<mobile operator-id="40500" country-id="405">9377178759</mobile>
<email>[email protected]</email>
<customer-ref>[email protected]</customer-ref>
<device-id>2E8667F78B23402BBFF6176313BD58D314566333</device-id>
<ip>62.242.147.103</ip>
</client-info>
</pay>
</root>
Response
The code below is an example pay response for installments.
<?xml version="1.0" encoding="UTF-8"?>
<root>
<psp-info id="4" merchant-account="AVIANCAECOMUSD" type="1">
<url content-type="application/x-www-form-urlencoded" method="post">https://avianca:[email protected]/mpoint/authorize-payment</url>
<card-number>card_number</card-number>
<expiry-month>expiration_month</expiry-month>
<expiry-year>expiration_year</expiry-year>
<cvc>securitycode</cvc>
<clientinfo>client_info</clientinfo>
<accept-url>https://av.mesb.sit.cpm.dev/mpoint/worldpay/threed-redirect</accept-url>
<return-url>https://av.mesb.sit.cpm.dev/mpoint/worldpay/threed-redirect</return-url>
<decline-url>https://av.mesb.sit.cpm.dev/mpoint/worldpay/threed-redirect</decline-url>
<cancel-url>https://av.mesb.sit.cpm.dev/mpoint/worldpay/threed-redirect</cancel-url>
<store-card>false</store-card>
<hidden-fields>
<client-id>10101</client-id>
<account-id>101012</account-id>
<card-type-id>7</card-type-id>
<merchant_account_id>AVIANCAECOMUSD</merchant_account_id>
<transaction_type>10091</transaction_type>
<requested_amount>201000000</requested_amount>
<store-card>false</store-card>
<requested_amount_currency>COP</requested_amount_currency>
<requested_amount_country>405</requested_amount_country>
<transactionId>5297672</transactionId>
<isAccountOnFileSelectionShown>true</isAccountOnFileSelectionShown>
<variantCode>101</variantCode>
<isPaymentProductDetailsShown>true</isPaymentProductDetailsShown>
<thirdPartyData>
<installment>5</installment>
</thirdPartyData>
</hidden-fields>
<name>card_holderName</name>
<auth-token>Auth-Token</auth-token>
<message language="en" />
</psp-info>
<status code="1009">Payment Initialize with PSP</status>
</root>
Updated 6 months ago