Paysight API
Card Submit API
Email Services
Payment API
Customer Service API
- API Reference
Admin API
- MerchantAccounts
- Transactions
Mitigation API
- API for Chargeback Mitigation Providers
Card
Submit card and customer info for a product
POST
/
api
/
{productId}
Submit card and customer info for a product
Copy
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
}'
Copy
{
"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
This will be provided by Paysight
Path Parameters
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
.
Submit card and customer info for a product
Copy
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
}'
Copy
{
"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
}
Assistant
Responses are generated using AI and may contain mistakes.