Delete Saved Card
ApiScope: payment.payisland
API Scope Level: ServiceSubscriberScope
Path Parameters
customerGuid string required
application/json
Request Body required
creditCardCIMTokenID string
Responses
- 200
- 400
- 401
- 500
OK
application/json
Schema
Example (from schema)
Schema
object
{}
Bad Request
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
]
}
Unauthorized
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
]
}
Internal Server Error
*/*
Schema
Example (from schema)
Schema
errors object[]
warnings object[]
{
"errors": [
{
"errorCode": 0,
"errorTitle": "string",
"errorMessage": "string",
"errorDescription": "string"
}
],
"warnings": [
{
"warningCode": 0,
"warningTitle": "string",
"warningMessage": "string",
"warningDescription": "string"
}
]
}
POST /kpayment/v1/customer/:customerGuid/deleteCard
Request
Request
curl / cURL
curl -L -X POST '/payment/kpayment/v1/customer/:customerGuid/deleteCard' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"creditCardCIMTokenID": "string"
}'
python / requests
curl -L -X POST '/payment/kpayment/v1/customer/:customerGuid/deleteCard' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"creditCardCIMTokenID": "string"
}'
go / native
curl -L -X POST '/payment/kpayment/v1/customer/:customerGuid/deleteCard' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"creditCardCIMTokenID": "string"
}'
nodejs / axios
curl -L -X POST '/payment/kpayment/v1/customer/:customerGuid/deleteCard' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"creditCardCIMTokenID": "string"
}'
ruby / Net::HTTP
curl -L -X POST '/payment/kpayment/v1/customer/:customerGuid/deleteCard' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"creditCardCIMTokenID": "string"
}'
csharp / RestSharp
curl -L -X POST '/payment/kpayment/v1/customer/:customerGuid/deleteCard' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"creditCardCIMTokenID": "string"
}'
php / cURL
curl -L -X POST '/payment/kpayment/v1/customer/:customerGuid/deleteCard' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"creditCardCIMTokenID": "string"
}'
java / OkHttp
curl -L -X POST '/payment/kpayment/v1/customer/:customerGuid/deleteCard' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"creditCardCIMTokenID": "string"
}'
powershell / RestMethod
curl -L -X POST '/payment/kpayment/v1/customer/:customerGuid/deleteCard' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"creditCardCIMTokenID": "string"
}'