Skip to main content
POST
/
payment
/
pay-3d-secure
cURL
curl --request POST \
  --url https://gateway.7exchange.io/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": "<string>",
  "merchantRedirectUrl": "<string>",
  "notificationUrl": "<string>",
  "shipping": {
    "country": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postcode": "<string>",
    "street1": "<string>",
    "language": "<string>"
  },
  "customer": {
    "telnocc": "<string>",
    "phone": "<string>",
    "email": "<string>",
    "givenName": "<string>",
    "surname": "<string>",
    "customerId": "<string>",
    "ip": "<string>",
    "birthDate": 123
  },
  "card": {
    "number": "<string>",
    "expiryMonth": "<string>",
    "expiryYear": "<string>",
    "cvv": "<string>"
  },
  "saveBeneficiary": true
}'
{
  "reason": "<string>",
  "path": "<string>",
  "method": "<string>",
  "message": "<string>",
  "timestamp": "<string>",
  "status": 123
}

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

application/json
amount
number
required
currency
string
required
merchantTransactionId
string | null
customerId
string | null
orderType
string | null
sourceId
string | null
destinationId
string | null
orderDescriptor
string | null
paymentBrand
string | null
paymentMode
string | null
terminalId
string | null
merchantRedirectUrl
string | null
notificationUrl
string | null
shipping
object
customer
object
card
object
saveBeneficiary
boolean

Response

Internal server error

reason
string

Reason phrase

path
string

Request path

method
string

Method type of the request

message
string

Error message

timestamp
string

Timestamp of the error

status
integer

Relevant HTTP status code