diff --git a/documents/token.md b/documents/token.md
index 35f62f1..bafbc98 100644
--- a/documents/token.md
+++ b/documents/token.md
@@ -384,6 +384,29 @@ $api->token->processPaymentOnAlternatePAorPG(array("id"=>"spt_4lsdksD31GaZ09"));
}
```
-------------------------------------------------------------------------------------------------------
+
+### Cancel token
+```php
+$api->token->cancel($customerId, $tokenId);
+```
+
+**Parameters:**
+
+| Name | Type | Description |
+|---------------|-------------|--------------------------------------|
+| customerId* | string | The id of the customer to be fetched |
+| tokenId* | string | The id of the token to be fetched |
+
+
+**Response:**
+```json
+{
+ "status": "cancellation_initiated”
+}
+```
+
+-------------------------------------------------------------------------------------------------------
+
**PN: * indicates mandatory fields**
diff --git a/src/Token.php b/src/Token.php
index 8f55874..8f4ae8a 100644
--- a/src/Token.php
+++ b/src/Token.php
@@ -56,4 +56,11 @@ public function processPaymentOnAlternatePAorPG($attributes = array())
return $this->request('POST', $relativeUrl, $attributes);
}
+
+ public function cancel($customer_id, $token_id)
+ {
+ $relativeUrl = 'customers/'.$customer_id.'/'.$this->getEntityUrl().$token_id.'/cancel';
+
+ return $this->request('PUT', $relativeUrl);
+ }
}