POST
/
api
/
{productId}
Submit card and customer info for a product
curl --request POST \
  --url https://test.paysight.io/api/{productId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "paysightSession": "<string>",
  "partnerSession": "<string>",
  "card": {
    "name": "<string>",
    "pan": "<string>",
    "expiryMonth": 123,
    "expiryYear": 123,
    "cvv": "<string>",
    "bin": "<string>",
    "lastFour": "<string>",
    "brand": "<string>"
  },
  "email": "<string>",
  "phone": "<string>",
  "address": {
    "firstName": "<string>",
    "lastName": "<string>",
    "street": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zip": "<string>",
    "country": "<string>"
  },
  "shippingAddress": {
    "firstName": "<string>",
    "lastName": "<string>",
    "street": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zip": "<string>",
    "country": "<string>"
  },
  "amount": 123,
  "mid": "<string>",
  "props": {},
  "campaignId": 123,
  "affiliateId": 123,
  "campaignName": "<string>",
  "affiliateName": "<string>",
  "subAffiliate": "<string>",
  "trackhouseClickId": "<string>",
  "threeDSecure": {
    "Enabled": true,
    "AfterAuthorization": true,
    "SkipChallenge": true,
    "ProceedDespiteFailure": true
  },
  "useragent": "<string>",
  "ip": "<string>",
  "cascade": true
}'
{
  "paysightSession": "<string>",
  "partnerSession": "<string>",
  "subscribeSuccess": true,
  "chargeSuccess": true,
  "info": "<string>",
  "error": "<string>",
  "email": "<string>",
  "message": "<string>",
  "orderId": 123,
  "descriptor": "<string>",
  "mid": "<string>",
  "threeDSecureId": "<string>",
  "transactionId": "<string>",
  "amount": 123,
  "statusId": 123,
  "declineSalvage": true
}

Authorizations

Authorization
string
header
required

This will be provided by Paysight

Path Parameters

productId
integer
required

ID of the Paysight product. This can be found at https://app.paysight.io/management/products

Body

application/json

Response

200 - application/json

Card submission result

The response is of type object.