> For the complete documentation index, see [llms.txt](https://docs.faspay.co.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.faspay.co.id/merchant-integration/api-reference-1/credit-card-transaction/additional-api-integration/api-tokenization/advance-functionality-api-tokenization/inquiry-last-token-dynamic-token-only-1.md).

# Inquiry Last Token (Dynamic Token Only)

The signature for tokenization inquiry last token by these steps :

1. stringToSign = "##" + strings.ToUpper(username)  + "##" + strings.ToUpper(password) + "##" + strings.ToUpper(merchant\_tranid) + "##"
2. hash sha256 stringToSign in binary
3. encode to base64

**Sample Generate Signature :**

stringToSign = "##" + "MPGS\_PURCHASE" + "##" + "ABCDE" + "##" + "TKN106" + "##"
