Loading...
Use the Verify endpoint to create a verification-only (zero amount authorization) for validating a customer’s card details—without charging their account. This is typically used to check that a card is valid and has not been reported lost or stolen, or to confirm account ownership prior to storing a card on file.
How it works:
Important: For authentication, you must include the required headers in each request. For more information, please refer to Authenticating Your Requests.
| Environment | HTTP Method | URL |
|---|---|---|
| Sandbox | POST | https://api.pit.paygateway.com/transactions/creditauths |
| Production | POST | https://api.paygateway.com/transactions/creditauths |
Content-Type: application/json
Authorization: AuthToken {AuthTokenV2}
X-GP-Request-Id: {request_id}
X-GP-Version: 2021-04-08
X-GP-Api-Key: {API Key}
X-GP-Source-App-Name: {Name of integrating application}
{
"reference_id": "MER-26395a60-08db-4eb3-b5ba-42275c281e72",
"card": {
"card_number":"4761739001010010",
"expiry_month":"12",
"expiry_year":"35",
"cardholder_name":"test name"
},
"payment": {
"amount": "0.00",
"currency_code": "840"
},
"transaction": {
"country_code": "840",
"processing_indicators":{
"create_token":true
}
}
}{
"creditauth_id": "000000000116",
"status": "approved",
"approval_code": "941655",
"processor_response": "DEVELOPMENT APPROVAL",
"card": {
"masked_card_number": "476173XXXXXX0010",
"cardholder_name": "test name",
"expiry_month": "12",
"expiry_year": "35",
"token": "ObT5udy7Ub",
"type": "visa"
},
"payment": {
"amount": "0.00",
"currency_code": "840",
"type": "credit"
},
"transaction": {
"entry_type": "keyed",
"language": "en-US"
},
"reference_id": "MER-26395a60-08db-4eb3-b5ba-42275c281e72"
}