Validate
curl --request POST \
--url https://api.ecrypt.com/v1/transactions/validate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"payment": {
"token": "<string>",
"stored": {
"customer": "<string>",
"wallet": "<string>",
"installment": 123,
"initialTransactionId": "<string>"
},
"terminal": {
"id": "<string>",
"externalIdentifier": "<string>",
"promptTip": true,
"tipAmounts": [
123
],
"promptCvv": true,
"promptPostalCode": true,
"promptAmountConfirmation": true,
"promptSignature": true,
"keyCard": true
},
"creditCard": {
"accountNumber": "4111111111111111",
"expires": "0135",
"nameOnCard": "John Doe",
"verificationValue": "000",
"postalCode": "90210",
"transactionId": "<string>"
},
"check": {
"accountNumber": "<string>",
"routingNumber": "<string>",
"name": "<string>",
"checkNumber": "<string>",
"verification": {
"dob": "<string>",
"ssn": "<string>",
"driversLicense": {
"number": "<string>",
"state": "<string>"
}
}
},
"cash": true,
"creditCardEncrypted": "<string>",
"googlePayPayment": {
"signature": "<string>",
"intermediateSigningKey": {
"signedKey": "<string>",
"signatures": [
"<string>"
]
},
"protocolVersion": "<string>",
"signedMessage": "<string>",
"postalCode": "<string>",
"nameOnCard": "<string>"
}
},
"initiatedByUserId": 123
}
'{
"requestId": "000000000000000000000",
"transactionId": "<string>",
"authCode": "<string>",
"responseCode": "<string>",
"responseText": "<string>",
"latency": 123,
"avs": {
"code": "<string>",
"text": "<string>"
},
"cvv": {
"code": "<string>",
"text": "<string>"
},
"amount": 123,
"metadata": {},
"errors": [
{
"type": "<string>",
"message": "<unknown>"
}
]
}Transactions
Validate
DESCRIPTION
POST
/
v1
/
transactions
/
validate
Validate
curl --request POST \
--url https://api.ecrypt.com/v1/transactions/validate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"payment": {
"token": "<string>",
"stored": {
"customer": "<string>",
"wallet": "<string>",
"installment": 123,
"initialTransactionId": "<string>"
},
"terminal": {
"id": "<string>",
"externalIdentifier": "<string>",
"promptTip": true,
"tipAmounts": [
123
],
"promptCvv": true,
"promptPostalCode": true,
"promptAmountConfirmation": true,
"promptSignature": true,
"keyCard": true
},
"creditCard": {
"accountNumber": "4111111111111111",
"expires": "0135",
"nameOnCard": "John Doe",
"verificationValue": "000",
"postalCode": "90210",
"transactionId": "<string>"
},
"check": {
"accountNumber": "<string>",
"routingNumber": "<string>",
"name": "<string>",
"checkNumber": "<string>",
"verification": {
"dob": "<string>",
"ssn": "<string>",
"driversLicense": {
"number": "<string>",
"state": "<string>"
}
}
},
"cash": true,
"creditCardEncrypted": "<string>",
"googlePayPayment": {
"signature": "<string>",
"intermediateSigningKey": {
"signedKey": "<string>",
"signatures": [
"<string>"
]
},
"protocolVersion": "<string>",
"signedMessage": "<string>",
"postalCode": "<string>",
"nameOnCard": "<string>"
}
},
"initiatedByUserId": 123
}
'{
"requestId": "000000000000000000000",
"transactionId": "<string>",
"authCode": "<string>",
"responseCode": "<string>",
"responseText": "<string>",
"latency": 123,
"avs": {
"code": "<string>",
"text": "<string>"
},
"cvv": {
"code": "<string>",
"text": "<string>"
},
"amount": 123,
"metadata": {},
"errors": [
{
"type": "<string>",
"message": "<unknown>"
}
]
}Authorizations
Authorization by x-api-key inside request's header
Body
application/jsontext/jsonapplication/*+json
Response
object | null
OK
Required string length:
1 - 100Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I