CIMB Clicks

REST API

Please note that you can use the REST API documentation also for Wirecard Payment Page v1 LEGACY integration.

CIMB Clicks is a type of Online Bank Transfer.

Countries and Currencies

Countries

MY, ID, PH, SG

Currencies

MYR

Transaction Types

For transaction type details which are not given here, look at Transaction Types.

Transaction Type Description Link to the Sample

get-url

A transaction for initiating a payment at CIMB Clicks.

debit

A payment transaction for a purchase executed from the consumer’s CIMB Clicks account.

Debit sample

Test Credentials

URLs (Endpoint)

https://api-test.wirecard.com/engine/rest/paymentmethods/

Merchant Account ID (MAID)

Please contact merchant support for complete test credentials.

Username

Please contact merchant support for complete test credentials.

Password

Please contact merchant support for complete test credentials.

Secret Key

Please contact merchant support for complete test credentials.

Workflow
CIMB Clicks Workflow
  1. Consumer selects to pay with CIMB Clicks on the merchant’s payment page.

  2. Wirecard Payment Gateway redirects consumer to CIMB Clicks to perform the payment.

  3. Consumer logs into his account on CIMB Clicks' page and performs the payment.

  4. CIMB Clicks redirects consumer to the Wirecard Payment Gateway.

  5. Wirecard Payment Gateway redirects the consumer to the merchant’s page.

Fields

The fields required for CIMB Clicks are the same fields as the REST API Fields.

Samples
debit Request (Successful)
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <payment-methods>
        <payment-method name="cimbclicks"/>
    </payment-methods>
    <merchant-account-id>3aae9de6-589f-4ac8-b90f-7bbb22c1bea2</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>debit</transaction-type>
    <requested-amount currency="MYR">1.01</requested-amount>
    <order-number>37530</order-number>
    <order-detail>Test product 001</order-detail>
    <ip-address>127.0.0.1</ip-address>
    <locale>en</locale>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@wirecard.com</email>
    </account-holder>
</payment>
debit Response (Successful)
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>3aae9de6-589f-4ac8-b90f-7bbb22c1bea2</merchant-account-id>
    <transaction-id>df7840c2-0f82-11e5-87be-00163e5411b5</transaction-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>debit</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2015-06-10T15:10:47.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="MYR">1.01</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@wirecard.com</email>
    </account-holder>
    <ip-address>127.0.0.1</ip-address>
    <order-number>37530</order-number>
    <order-detail>Test product 001</order-detail>
    <payment-methods>
        <payment-method url="https://203.153.83.64:443/TIBSEPWeb/ePayment.do?payeeId=MASBERHAD&amp;billAccountNo=demo-00000000007&amp;billReferenceNo=32675199556081144544&amp;billReferenceNo2=&amp;billReferenceNo3=&amp;billReferenceNo4=&amp;amount=1.01&amp;payeeResponseURL=http://mas-sandbox-engine.thesolution-nocall.com/engine/rest/epp/cimb/payments/" name="cimbclicks"/>
    </payment-methods>
    <locale>en</locale>
</payment>
debit Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>3aae9de6-589f-4ac8-b90f-7bbb22c1bea2</merchant-account-id>
    <transaction-id>4536fbee-1924-11e5-9267-00163e3537f6</transaction-id>
    <request-id>40289139-2d94-4910-9534-3cc544e5d382</request-id>
    <transaction-type>debit</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2015-06-22T17:18:22.000-04:00</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="cimbclicks:The resource was successfully created." provider-transaction-id="44823abe-1924-11e5-9267-00163e3537f6" severity="information"/>
    </statuses>
    <requested-amount currency="MYR">10.000000</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@wirecard.com</email>
        <phone>4164844000</phone>
        <address>
            <street1>150 Eglinton</street1>
            <street2>Suite 999</street2>
            <city>Toronto</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <ip-address/>
    <order-number>PO98U457Z</order-number>
    <order-detail>Mission Impossible Box DVD Set</order-detail>
    <notifications>
        <notification url="http://requestb.in/1dwrbln1"/>
    </notifications>
    <payment-methods>
        <payment-method name="cimbclicks"/>
    </payment-methods>
    <api-id>---</api-id>
    <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
        <SignedInfo>
            <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
            <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
            <Reference URI="">
                <Transforms>
                    <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
                </Transforms>
                <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                <DigestValue>ld/HqJmjS1/p1+5Ur7/Ptpw9J4s=</DigestValue>
            </Reference>
        </SignedInfo>
        <SignatureValue>jQRwyJr677YyrDMjduoVYqmKDWbq63HM2veLfIzxq2pKfMXrm77i2jfYIu5HEWCiybQgoOc5CAEy
RR5UnyKQOUNH+O2CYteEqnVYtyEJUSBL/0ocO8jfLYxp1ZUmdZ2H8gCtyBdotU2hjqPW/GxrvaAx
T9UV7Rsu3sINalbhS2JVDTLlqEiGA6Qw5vwjyGa7NApTSv+lh2cRsPJbcEiVpV68+OLmlcIC3aDz
iz96bOk/TJFQXBRVkpOc0bMKpHXMdnh02CF5I8PL8OAFaALx/6ySgxfqQf8SHwdwKcMHsQVsscX4
dUqXIMLb9p19ZKmGGJpWjA60nLKSdN2yzJvp7Q==</SignatureValue>
        <KeyInfo>
            <X509Data>
                <X509SubjectName>CN=Manoj Sahu,OU=Operations,O=Wirecard Elastic Payments,L=Toronto,ST=ON,C=CA</X509SubjectName>
                <X509Certificate>MIIDcDCCAligAwIBAgIETgQWGTANBgkqhkiG9w0BAQUFADB6MQswCQYDVQQGEwJDQTELMAkGA1UE
CBMCT04xEDAOBgNVBAcTB1R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