Merchant API
Pay 3D Secure
Home
Token
Merchant API
Customer
- 2FA
- AccessControl
- Active Session
- Credentials
- Customer
- Organization
- Profile Picture
Open Banking API
- Introduction
- POSTToken
- Account
- TPP
Merchant API
Pay 3D Secure
This API helps the user to create an additional security layer for online credit card transaction.This is part of the Pay for an order which helps initiate a payment to pay full amount for an order using a customer’s saved payment method.
POST
/
payment
/
pay-3d-secure
curl --request POST \
--url https://gateway.cyrexa.com/ipg/1.0.0/payment/pay-3d-secure \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'OrganizationId: <organizationid>' \
--header 'TenantId: <tenantid>' \
--header 'WalletId: <walletid>' \
--data '{
"merchantTransactionId": "<string>",
"customerId": "<string>",
"amount": 123,
"currency": "<string>",
"orderType": "<string>",
"sourceId": "<string>",
"destinationId": "<string>",
"orderDescriptor": "<string>",
"paymentBrand": "<string>",
"paymentMode": "<string>",
"terminalId": 123,
"merchantRedirectUrl": "<string>",
"notificationUrl": "<string>",
"shipping": {
"country": "<string>",
"city": "<string>",
"state": "<string>",
"postcode": "<string>",
"street1": "<string>"
},
"customer": {
"telnocc": "<string>",
"phone": "<string>",
"email": "<string>",
"givenName": "<string>",
"surname": "<string>",
"customerId": "<string>"
},
"card": {
"number": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>",
"cvv": "<string>"
}
}'
{
"value": {
"id": "<string>",
"paymentDetail": {
"paymentId": "<string>",
"paymentBrand": "<string>",
"paymentMode": "<string>",
"paymentType": "<string>",
"registrationId": "<any>",
"amount": 123,
"currency": "<string>",
"card": {
"bin": "<string>",
"last4Digits": "<string>",
"holder": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>"
},
"transactionStatus": "<string>",
"merchantTransactionId": "<any>",
"result": {
"code": 123,
"description": "<string>"
},
"descriptor": "<any>",
"remark": "<any>",
"timestamp": "<string>",
"redirect": {
"url": "<string>",
"method": "<any>",
"target": "<any>",
"parameters": [
{
"name": "<string>",
"value": "<string>"
}
]
}
}
},
"isOk": true,
"isErr": true
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Response
200
text/plain
Success
curl --request POST \
--url https://gateway.cyrexa.com/ipg/1.0.0/payment/pay-3d-secure \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'OrganizationId: <organizationid>' \
--header 'TenantId: <tenantid>' \
--header 'WalletId: <walletid>' \
--data '{
"merchantTransactionId": "<string>",
"customerId": "<string>",
"amount": 123,
"currency": "<string>",
"orderType": "<string>",
"sourceId": "<string>",
"destinationId": "<string>",
"orderDescriptor": "<string>",
"paymentBrand": "<string>",
"paymentMode": "<string>",
"terminalId": 123,
"merchantRedirectUrl": "<string>",
"notificationUrl": "<string>",
"shipping": {
"country": "<string>",
"city": "<string>",
"state": "<string>",
"postcode": "<string>",
"street1": "<string>"
},
"customer": {
"telnocc": "<string>",
"phone": "<string>",
"email": "<string>",
"givenName": "<string>",
"surname": "<string>",
"customerId": "<string>"
},
"card": {
"number": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>",
"cvv": "<string>"
}
}'
{
"value": {
"id": "<string>",
"paymentDetail": {
"paymentId": "<string>",
"paymentBrand": "<string>",
"paymentMode": "<string>",
"paymentType": "<string>",
"registrationId": "<any>",
"amount": 123,
"currency": "<string>",
"card": {
"bin": "<string>",
"last4Digits": "<string>",
"holder": "<string>",
"expiryMonth": "<string>",
"expiryYear": "<string>"
},
"transactionStatus": "<string>",
"merchantTransactionId": "<any>",
"result": {
"code": 123,
"description": "<string>"
},
"descriptor": "<any>",
"remark": "<any>",
"timestamp": "<string>",
"redirect": {
"url": "<string>",
"method": "<any>",
"target": "<any>",
"parameters": [
{
"name": "<string>",
"value": "<string>"
}
]
}
}
},
"isOk": true,
"isErr": true
}