public function deleteCard($Context, $id, $card_id)
	{
		$id = str_replace(array('{', '}', '-'), '', $id);

		$url = str_replace('<id>', $id, QuickBooks_Payments::URL_CARD . '/' . $card_id);

		$resp = $this->_http($Context, $url, null, 'DELETE');

		$data = json_decode($resp, true);

		if ($this->_handleError($data))
		{
			return false;
		}

		return true;
	}
public function deleteCard($Context, $id, $card_id)
	{
		$id = str_replace(array('{', '}', '-'), '', $id);

		$url = str_replace('<id>', $id, QuickBooks_Payments::URL_CARD . '/' . $card_id);

		$resp = $this->_http($Context, $url, null, 'DELETE');

		$data = json_decode($resp, true);

		if ($this->_handleError($data))
		{
			return false;
		}

		return true;
	}
public function deleteCard ( $ Context , $ id , $ card_id ) { $ id = str_replace ( array ( '{' , '}' , '-' ) , '' , $ id ) ; $ url = str_replace ( '<id>' , $ id , QuickBooks_Payments :: URL_CARD . '/' . $ card_id ) ; $ resp = $ this -> _http ( $ Context , $ url , null , 'DELETE' ) ; $ data = json_decode ( $ resp , true ) ; if ( $ this -> _handleError ( $ data ) ) { return false ; } return true ; }
Delete a card via the QuickBooks Payments API

@return boolean
Delete a card via the QuickBooks Payments API