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
}
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
}
This will be provided by Paysight
ID of the Paysight product. This can be found at https://app.paysight.io/management/products
Card submission result
The response is of type object
.