Click the button to make a payment to TP

5232105022907162 Jane Jones 03/2025 204 (classic, NO 3d)
4200000000000091 Jane Jones 05/2031 123 (Secured 3d)
BACK

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

              POST eu-test.oppwa.com:443/v1/checkouts
              Authorization: 'Bearer OGFj***********************J5NQ=='

              REQUEST
              {
                  'entityId': "8ac7a4ca880534c801880575423200b5",
                  'amount': '92.00',
                  'currency': 'EUR',
                  'paymentType': 'DB',
                  'createRegistration': true,
                  'standingInstruction.mode': 'INITIAL',
                  'standingInstruction.source': 'CIT',
                  'standingInstruction.type': 'UNSCHEDULED'
              }
              
              RESPONSE 
              {
                "result": {
                    "code": "000.200.100",
                    "description": "successfully created checkout"
                },
                "buildNumber": "4cf0da2a0da510e18c9a3ee629818eeb6bd84fff@2024-03-07 15:31:01 +0000",
                "timestamp": "2024-03-12 11:34:11+0000",
                "ndc": "DFDFB4DE347E50BF88BF3E9AB9046F8E.uat01-vm-tx02",
                "id": "DFDFB4DE347E50BF88BF3E9AB9046F8E.uat01-vm-tx02"
              }
          

2) When TP redirect to shopperResultUrl, we call backend on /verifyPayment/:paymentId which fires the following to TP

             GET eu-test.oppwa.com:443/v1/checkouts/DFDFB4DE347E50BF88BF3E9AB9046F8E.uat01-vm-tx02/payment?entityId=8ac7a4ca880534c801880575423200b5
             Authorization: 'Bearer OGFj***********************J5NQ=='
              
              REQUEST
              {--empty}

              RESPONSE
              {
                "id": "8ac7a49f8e320e7c018e327548605709",
                "registrationId": "8ac7a4a28e3218c8018e327547393937",
                "paymentType": "DB",
                "paymentBrand": "VISA",
                "amount": "92.00",
                "currency": "EUR",
                "descriptor": "1000.3958.0308 allyourbooks-net - TEST - 3DV2",
                "recurringType": "INITIAL",
                "result": {
                    "code": "000.100.110",
                    "description": "Request successfully processed in 'Merchant in Integrator Test Mode'"
                },
                "card": {
                    "bin": "420000",
                    "last4Digits": "0091",
                    "holder": "jane jones",
                    "expiryMonth": "05",
                    "expiryYear": "2031"
                },
                "customer": {
                    "ip": "93.93.168.196"
                },
                "threeDSecure": {
                    "eci": "05",
                    "version": "2.2.0",
                    "dsTransactionId": "f557d733-22b8-460d-b761-a02d7eaa8390",
                    "challengeMandatedIndicator": "N",
                    "acsTransactionId": "f9348e4b-83ed-4cca-8aff-47c5ff6bad4c",
                    "cardHolderInfo": "",
                    "authType": "01",
                    "flow": "challenge",
                    "authenticationStatus": "Y"
                },
                "customParameters": {
                    "StandingInstructionAPI": "true",
                    "SHOPPER_EndToEndIdentity": "dabe35db0aa3a75e98bf02aeca949ef4649011eda5942093e25d17502acea616",
                    "CTPE_DESCRIPTOR_TEMPLATE": "",
                    "StoredCredentialType": "CIT",
                    "StandingInstruction": "UNSCHEDULED"
                },
                "risk": {
                    "score": "0"
                },
                "buildNumber": "4cf0da2a0da510e18c9a3ee629818eeb6bd84fff@2024-03-07 15:31:01 +0000",
                "timestamp": "2024-03-12 11:38:55+0000",
                "ndc": "3556E482C5C6B4082A68761C64B676D4.uat01-vm-tx01",
                "standingInstruction": {
                    "source": "CIT",
                    "type": "UNSCHEDULED",
                    "mode": "INITIAL"
                }
              }