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

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

WalletId
string
required
TenantId
string
required
OrganizationId
string
required

Body

Response

200
text/plain

Success

The response is of type object.