POST
/
payment
/
pay-3d-secure
curl --request POST \
  --url https://gateway.finhub.cloud/ipg/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
headerrequired

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

merchantTransactionId
string | null
customerId
string | null
amount
number
currency
string | null
orderType
string | null
sourceId
string | null
destinationId
string | null
orderDescriptor
string | null
paymentBrand
string | null
paymentMode
string | null
terminalId
integer
merchantRedirectUrl
string | null
notificationUrl
string | null
shipping
object
customer
object
card
object

Response

200 - text/plain
value
object
isOk
boolean
isErr
boolean