Loading...
Important: For authentication, you must include the required HTTPS headers in each request. For more information about the authentication HTTPS headers, see Authenticating Your Requests.
| Environment | HTTP Method | URL |
|---|---|---|
| Sandbox | POST | https://api.pit.paygateway.com/tokenization/cardtokens |
| Production | POST | https://api.paygateway.com/tokenization/cardtokens |
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-Version: {Version of integrating application}
X-GP-Source-App-Name: {Name of integrating application}
{
"card": {
"card_number": "4012888888881881",
"expiry_month": "03",
"expiry_year": "23"
}
}{
"transaction_id": "000000002271",
"status": "Approved",
"card": {
"masked_card_number": "401288XXXXXX1881",
"expiry_month": "03",
"expiry_year": "23",
"token": "11nhqBgdJm",
"type": "Visa"
},
"payment": {
"type": "Credit"
}
}| Environment | HTTP Method | URL |
|---|---|---|
| Partner Integration Test | PATCH | https://api.pit.paygateway.com/tokenization/cardtokens/{token} |
| Production | PATCH | https://api.paygateway.com/tokenization/cardtokens/{token} |
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-Version: {Version of integrating application}
X-GP-Source-App-Name: {Name of integrating application}
{
"card": {
"card_number": "4012888888881881",
"expiry_month": "03",
"expiry_year": "23"
}
}{
"transaction_id": "000000002271",
"status": "Approved",
"card": {
"masked_card_number": "401288XXXXXX1881",
"expiry_month": "03",
"expiry_year": "23",
"token": "11nhqBgdJm",
"type": "Visa"
},
"payment": {
"type": "Credit"
}
}| Environment | HTTP Method | URL |
|---|---|---|
| Partner Integration Test | GET | https://api.pit.paygateway.com/tokenization/cardtokens/{token} |
| Production | GET | https://api.paygateway.com/tokenization/cardtokens/{token} |
GET /tokenization/cardtokens/11nhqBgdJm{
"transaction_id": "000000002273",
"status": "Approved",
"card": {
"masked_card_number": "401288XXXXXX1881",
"expiry_month": "03",
"expiry_year": "23",
"type": "Visa"
},
"payment": {
"type": "Credit"
}
}| Environment | HTTP Method | URL |
|---|---|---|
| Partner Integration Test | DELETE | https://api.pit.paygateway.com/tokenization/cardtokens/{token} |
| Production | DELETE | https://api.paygateway.com/tokenization/cardtokens/{token} |
DELETE /tokenization/cardtokens/11nhqBgdJm{
"transaction_id": "000000002274",
"status": "Approved"
}