Secure-eBook

Secure-eBook Documentation

Secure-eBook SDK : token

The token message is returned in answer to then request command.

The returned token is the 'password' known only by you and the Secure-eBook server for this transaction.

You will use this token in your reply to this message via the confirm command.

<token>

This is the root element of this XML message. No other sub elements will be returned.

Parameters:

NameTypeDescription
tokentext. size: 64A token generated for this transaction only. You will use this token in your reply to this message via the confirm command.
userdatatext. maximum size: 64(Optional) If you have specified userdata in your request command, it will be returned to you here.
testmodetrue,false(Optional) Reflects whether this transaction is in test mode or not. If specified and set to “true”, the transaction will be considered a test transaction. It will be recorded in Secure-eBook as a test transaction, but no activation key will be generated or debited from your account.

Message Template

<?xml version="1.0"?>
<token token="[text]" userdata="[text]" testmode="[true|false]" />