Get CIMToken for CreditCard CIM Token UUID
ApiScope: payment.cimtoken.read
API Scope Level: DepartmentScope
Path Parameters
departmentUuid string required
creditCardCIMTokenUuid string required
uuid of CreditCardCIMToken
Responses
- 200
OK
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
creditCardCIMToken object
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
],
"creditCardCIMToken": {
"id": 0,
"uuid": "string",
"tenderData": {
"id": 0,
"data": "string",
"hash": "string",
"tenderSubType": {
"id": 0,
"subTenderName": "string",
"tenderType": {
"id": 0,
"version": 0,
"tenderName": "string",
"availableOnMobile": true
},
"valid": true
}
},
"cardDetails": {
"cardHash": "string",
"creditCardCIMTokenID": "string",
"creditCardCIMTokenUuid": "string",
"paymentProvider": "string",
"isDebit": true,
"cimTokens": [
{
"tokenName": "string",
"tokenValue": "string"
}
],
"CardNumber": "string",
"cardNumber": "string",
"expMonth": "string",
"ExpMonth": "string",
"expYear": "string",
"ExpYear": "string",
"ccType": "string",
"CCType": "string",
"cardHolder": "string",
"CardHolder": "string",
"billingAddress1": "string",
"BillingAddress1": "string",
"billingAddress2": "string",
"BillingAddress2": "string",
"BillingCity": "string",
"billingCity": "string",
"billingState": "string",
"BillingState": "string",
"BillingZip": "string",
"billingZip": "string",
"BillingPhone": "string",
"billingPhone": "string"
},
"paymentCustomer": {
"customerUuid": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"company": "string"
},
"paymentProvider": "string",
"cardPresent": true,
"isValid": true,
"cimTokenDTOs": [
{
"tokenName": "string",
"tokenValue": "string"
}
]
}
}
GET /v4/departments/:departmentUuid/credit-card-cim-tokens/:creditCardCIMTokenUuid
Authorization
name: basicAuthtype: httpscheme: basic
Request
Request
curl / cURL
curl -L -X GET '/payment/v4/departments/:departmentUuid/credit-card-cim-tokens/:creditCardCIMTokenUuid' \
-H 'Accept: */*'
python / requests
curl -L -X GET '/payment/v4/departments/:departmentUuid/credit-card-cim-tokens/:creditCardCIMTokenUuid' \
-H 'Accept: */*'
go / native
curl -L -X GET '/payment/v4/departments/:departmentUuid/credit-card-cim-tokens/:creditCardCIMTokenUuid' \
-H 'Accept: */*'
nodejs / axios
curl -L -X GET '/payment/v4/departments/:departmentUuid/credit-card-cim-tokens/:creditCardCIMTokenUuid' \
-H 'Accept: */*'
ruby / Net::HTTP
curl -L -X GET '/payment/v4/departments/:departmentUuid/credit-card-cim-tokens/:creditCardCIMTokenUuid' \
-H 'Accept: */*'
csharp / RestSharp
curl -L -X GET '/payment/v4/departments/:departmentUuid/credit-card-cim-tokens/:creditCardCIMTokenUuid' \
-H 'Accept: */*'
php / cURL
curl -L -X GET '/payment/v4/departments/:departmentUuid/credit-card-cim-tokens/:creditCardCIMTokenUuid' \
-H 'Accept: */*'
java / OkHttp
curl -L -X GET '/payment/v4/departments/:departmentUuid/credit-card-cim-tokens/:creditCardCIMTokenUuid' \
-H 'Accept: */*'
powershell / RestMethod
curl -L -X GET '/payment/v4/departments/:departmentUuid/credit-card-cim-tokens/:creditCardCIMTokenUuid' \
-H 'Accept: */*'