AlliancePay
🇬🇧 English
🇬🇧 English
  • E Commerce platform AlliancePay v2.32.0
  • Authentication
  • Data Encryption
  • Authorization
  • Using an authorization token
  • Key Management Overview
    • PURCHASE Collection Example
    • A2C Collection Example
  • Payment methods H2H
    • PURCHASE
      • PURCHASE Request - Step 1
      • PURCHASE Request - Step 2
    • A2C
    • C2A
      • C2A Transaction Request - Step 1
      • C2A Transaction Request - Step 2
    • ApplePay decrypted
      • PURCHASE
        • Payment Processing Request - Step 1
        • Payment Processing Request - Step 2 (3DS)
      • C2A
        • C2A request Step 1
        • C2A request Step 2 (3DS)
    • ApplePay encrypted
      • Request aPay support on the page
      • Request to receive aPay merchant data
      • Merchant validation request
      • Session Establishment Request in aPay
      • Payment Processing Request
    • GooglePay™ decrypted
      • PURCHASE
        • Payment Processing Request - Step 1
        • Payment Processing Request - Step 2 (3DS)
      • C2A
        • C2A request Step 1
        • C2A request Step 2 (3DS)
    • GooglePay™ encrypted
      • Google Pay™ Documentation
      • Google Pay™ Support Request on the Page
      • Google Pay™ Merchant Data Retrieval Request
      • Payment request
    • REFUND
    • TOKEN
      • PURCHASE
        • Token payment request Step 1
        • 3DS token payment request Step 2
      • C2A
        • Token payment request Step 1
        • 3DS token payment request Step 2
      • Token Creation
      • Retrieve Token by CustomerId
      • Retrieve Token Data
      • Update Token Status
      • Token Statuses
    • Account Verification
      • Card Verification Request Step 1
      • Card verification request Step 2
    • Getting data
      • By OPERATION_ID
      • By merchantRequestId
    • Getting a balance
    • Callback
  • Payment methods HPP
    • PURCHASE
      • Creating an order
      • Receiving order data
    • REFUND
    • Callback
    • Order statuses
  • Dictionary
    • Transaction status
    • Test cases
    • Error codes
    • Value actionCode, responseCode
    • Limits
    • Instructions for reconciliation by registers
      • Fields Description in Registers
    • Whitelist IP addresses and URLs
  • History of changes
Powered by GitBook
On this page
  • Incoming JSON Parameters:
  • Output JSON Parameters:
  • An example of a request body
  • Example of a response body
  1. Payment methods H2H
  2. GooglePay™ decrypted
  3. PURCHASE

Payment Processing Request - Step 2 (3DS)

{{url}}/ecom/execute_request/payments/v1/google_pay_3ds/purchase

Incoming JSON Parameters:

Parameter

Description

Data Format

Mandatory

Example

operationId

The operation ID obtained in step 1

string

Yes

137d9304-0368-11ed-b939-0242ac120002

date

Date and time of payment

string

Yes

{{currentdateT}}.00+00:00

browserInfo

Object containing browser data

object

Yes, if the operation requires 3DS

-

browserAcceptHeader

HTTP request header

string

Yes, if the operation requires 3DS

text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9

browserUserAgent

Browser software element identifying the system

string

Yes, if the operation requires 3DS

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

browserLanguage

Browser language

string

Yes, if the operation requires 3DS

en-US,en

browserColorDepth

Screen color depth value in the browser

string

Yes, if the operation requires 3DS

24

browserScreenHeight

Height of the browser viewport

string

Yes, if the operation requires 3DS

800

browserScreenWidth

Width of the browser viewport

string

Yes, if the operation requires 3DS

1280

browserTZ

Browser timezone offset

string

Yes, if the operation requires 3DS

-180

Output JSON Parameters:

Parameter

Description

Data Format

Example

type

Transaction type

string

Purchase

rrn

Transaction reference number in MPS

string

2554256963

purpose

Payment purpose

string

For the goods

comment

Comment

string

test

coinAmount

Payment amount

int

2000

merchantId

Merchant ID

string

137d9304-0368-11ed-b939-0242ac120002

operationId

Transaction ID

string

1712844596346b9F-WwrWZpq

ecomOperationId

Transaction ID in Ecom system

string

8c3303e9-7396-43b8-af4e-31d9facdde9b

merchantName

Merchant name

string

KB test terminal

approvalCode

Authorization code

string

39203

status

Transaction status

string

SUCCESS, FAIL, PENDING, REQUIRED_3DS, DESIRED_THREEDS_MODE_ERROR

transactionType

Transaction type in digital format

string

35

merchantRequestId

Merchant request ID

string

72837906-f526-4aef-8d11-58d80b44cb75

transactionCurrency

Payment currency

string

980

merchantCommission

Commission amount

string

2

createDateTime

Payment creation date

string

19.09.2024 15:29

modificationDateTime

Payment modification date

string

19.09.2024 15:29

actionCode

Response code

string

0

responseCode

Response details

string

0

description

Response description

string

approved

bankCode

Issuing bank name

string

BANK_ALLIANCE

paymentSystem

Issuer's MPS name

string

MasterCard

productType

Terminal product type

string

PURCHASE

notificationUrl

URL for CallBack notifications

string

https://merchant.notification_url/

paymentServiceType

Payment type

string

CARD/APPLE_PAY/GOOGLE_PAY

notificationEncryption

CallBack data encryption flag

string

true/false

cardNumberMask

Masked card number

string

5573********0304

desiredThreeDSMode

3DS requirement indicator

string

MUST/SHOULD/MUST_NOT

threeDSMode

3DS usage status

string

MUST/MUST_NOT

statusThreeDs

3DS verification status

string

Y/N

threeDSServerTransId

Transaction ID in the 3DS system

string

b6c35fdb-28c1-454d-a2f3-51098c26bda4

acsTransId

Transaction ID in the ACS system

string

3e17fabb-71e6-498e-8794-ef8c95c5ba6f

dsTransId

Transaction ID generated by Directory Server

string

12ebc556-82d3-4e35-9fb8-77ac18b050ea

eci

Electronic Commerce Indicator

string

2

processingMerchantId

Merchant ID in HR

string

AE100000

processingTerminalId

Terminal ID in PC

string

AE100000

redirect3dsUrl

URL for redirecting clients to issuer's 3DS page

string

https://api-ecom-release.develop.bankalliance.ua/threeDS/getRedirectHtml/1702047427621BHu5X99yDbA

txnType

Transaction type enum

enum

NONCVV/noncvv

senderCustomerId

Sender client ID

string

1258728c1

senderFirstName

Sender's first name

string

Ivan

senderLastName

Sender's last name

string

Ivanenko

senderMiddleName

Sender's patronymic

string

Ivanovych

senderEmail

Sender's email

string

mail@gmail.com

senderCountry

Sender's country

string

Ukraine

recipientRegion

Recipient's region

string

Kyivska

recipientСity

Recipient's city

string

Kyiv

recipientStreet

Recipient's street

string

Sichovykh Striltsiv

recipientAdditionalAddress

Recipient's additional address data (floor, house number, apartment).

string

23

recipientItn

Recipient's tax ID.

string

123456789

recipientPassport

Recipient's passport

string

AN123456

recipientIp

Recipient's IP address.

string

123.12.12.12

recipientPhone

Recipient's phone number

string

3,81E+11

recipientBirthday

Recipient's date of birth.

string

31.12.2000

recipientGender

Recipient's gender

string

Male/Female

recipientZipCode

Recipient's zip code

string

49000

senderBankCode

Sender's issuing bank

string

BANK_ALLIANCE

senderPaymentSystem

Sender's issuer

string

MasterCard

senderCardNumberMask

Masked card number of the sender

string

5573********0304

An example of a request body

{
    "operationId": "1702047427621BHu5X99yDbA",
    "browserInfo": {
        "browserAcceptHeader"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
        "browserUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like,Gecko)Chrome/87.0.4280.66 Safari/537.36",
        "browserLanguage": "en-US,en",
        "browserColorDepth": "24",
        "browserScreenHeight": "800",
        "browserScreenWidth": "1280",
        "browserTZ": "-180"
    },
    "notificationUrl": "https://api-ecom-prod.bankalliance.ua/mock",
    "date": "{{currentdateT}}.00+00:00"
}

Example of a response body

{
    "type": "PURCHASE",
    "rrn": null,
    "purpose": "purpose",
    "comment": "comment",
    "coinAmount": null,
    "merchantId": "137d9304-0368-11ed-b939-0242ac120002",
    "operationId": "17128429092802o9koN8eABn",
    "ecomOperationId": "99261a33-cfae-4dfa-9396-812817b5dffb",
    "merchantName": null,
    "approvalCode": null,
    "status": "PENDING",
    "transactionType": 35,
    "merchantRequestId": "8bf3bc51-53e8-4d12-9e86-c13dd6af3b9e",
    "transactionCurrency": "980",
    "merchantCommission": null,
    "createDateTime": "2024.09.19 15:29:25.675",
    "modificationDateTime": "2024.09.19 15:29:25.675",
    "transactionResponseInfo": {
        "actionCode": null,
        "responseCode": null,
        "description": null
    },
    "bankCode": null,
    "paymentSystem": null,
    "productType": "PURCHASE",
    "notificationUrl": "https://webhook.site/cbf8c83a-ee1e-47c6-899c-eca5731ff084",
    "paymentServiceType": "GOOGLE_PAY",
    "notificationEncryption": false,
    "cardNumberMask": null,
    "desiredThreeDSMode": "MUST",
    "threeDSMode": "MUST",
    "statusThreeDs": null,
    "threeDSServerTransId": "5d175446-df26-4ad0-a60c-cd8f95570c0c",
    "redirect3dsUrl": null,
    "txnType": "null",
    "senderCustomerId": null,
    "senderFirstName": null,
    "senderLastName": null,
    "senderMiddleName": null,
    "senderEmail": null,
    "senderCountry": null,
    "senderRegion": null,
    "senderCity": null,
    "senderStreet": null,
    "senderAdditionalAddress": null,
    "senderItn": null,
    "senderPassport": null,
    "senderIp": null,
    "senderPhone": null,
    "senderBirthday": null,
    "senderGender": null,
    "senderZipCode": null,
    "senderBankCode": null,
    "senderPaymentSystem": null,
    "senderCardNumberMask": null
}
PreviousPayment Processing Request - Step 1NextC2A

Last updated 2 months ago