## CREDIT CARDS

5232105022907162 Jane Jones 03/2025 204 (classic, NO 3d)

4200000000000091 Jane Jones 05/2031 123 (Secured 3d)

BACK

Click the button to make a payment to TP

1) On submit, call backend on /preparePayment which fires the following to TP

            POST https://eu-test.oppwa.com/v1/checkouts
            Authorization: 'Bearer OGFjN******************************mJ5NQ=='
            
            REQUEST
            {
              entityId: "8ac7a4ca880534c801880575423200b5",
              testMode: 'EXTERNAL',
              createRegistration: 'true'
            }

            RESPONSE 
            {
              "result": {
              "code": "000.200.100",
              "description": "successfully created checkout"
              },
              "buildNumber": "67d2fdf5566182f73f4c1f935a02b4d707a6e035@2024-03-14 09:51:06 +0000",
              "timestamp": "2024-03-14 17:45:47+0000",
              "ndc": "164F2767AAC8D62CCF2C2319737136E9.uat01-vm-tx03",
              "id": "164F2767AAC8D62CCF2C2319737136E9.uat01-vm-tx03"
            }
        

2) After submitting the payment form, we call backend on /verifyPayment/:paymentId which fires the following to TP

           GET
            https://eu-test.oppwa.com/v1/checkouts/164F2767AAC8D62CCF2C2319737136E9.uat01-vm-tx03/registration?entityId=8ac7a4ca880534c801880575423200b5   
            Authorization: 'Bearer OGFjN******************************mJ5NQ=='
            
            REQUEST
            {--empty}

            RESPONSE
            {
              "id": "8ac7a4a28e3c5bf4018e3e1246a35917",
              "paymentBrand": "MASTER",
              "result": {
              "code": "000.100.112",
              "description": "Request successfully processed in 'Merchant in Connector Test Mode'"
              },
              "card": {
              "bin": "523210",
              "last4Digits": "7162",
              "holder": "jane jones",
              "expiryMonth": "05",
              "expiryYear": "2031"
              },
              "customer": {
              "ip": "185.80.226.143"
              },
              "customParameters": {
              "SHOPPER_EndToEndIdentity": "9e975ad695ae9ba4e864a762f707acc277e67bab990ff3ff637a8f5bcffebe8a"
              },
              "risk": {
              "score": "0"
              },
              "buildNumber": "67d2fdf5566182f73f4c1f935a02b4d707a6e035@2024-03-14 09:51:06 +0000",
              "timestamp": "2024-03-14 17:46:08+0000",
              "ndc": "164F2767AAC8D62CCF2C2319737136E9.uat01-vm-tx03"
            }
        

3) Perform a server-to-server POST request over the registration token retrieved in the previous step, we call backend on /sendPayment/:paymentId

            GET
            /v1/registrations/8ac7a4a28e3c5bf4018e3e1246a35917/payments
            Authorization: 'Bearer OGFjN******************************mJ5NQ=='
            
            REQUEST
            {--emty}

            RESPONSE
            {
              "id": "8ac7a49f8e3d4564018e3e1257726046",
              "paymentType": "DB",
              "amount": "92.00",
              "currency": "EUR",
              "descriptor": "4747.7441.1668 allyourbooks-net - TEST - 3DV2 ",
              "result": {
              "code": "000.100.112",
              "description": "Request successfully processed in 'Merchant in Connector Test Mode'"
              },
              "resultDetails": {
              "ExtendedDescription": "Approved or completed successfully",
              "ConnectorTxID1": "743965;MCC999999;1231",
              "ConnectorTxID3": "71F00013",
              "AcquirerResponse": "00",
              "reconciliationId": "474774411668",
              "CardholderInitiatedTransactionID": "MCC9999991231"
              },
              "risk": {
              "score": "0"
              },
              "buildNumber": "67d2fdf5566182f73f4c1f935a02b4d707a6e035@2024-03-14 09:51:06 +0000",
              "timestamp": "2024-03-14 17:46:13+0000",
              "ndc": "8ac7a4ca880534c801880575423200b5_a8679c1890dc44559c2efaac8c351a32",
              "standingInstruction": {
              "source": "CIT",
              "type": "UNSCHEDULED",
              "mode": "INITIAL",
              "initialTransactionId": "MCC9999991231"
              }
            }