Create Acceptance of Bill of Exchange

Creates an Accepted Bill of Exchange verifiable credential from an existing Bill of Exchange document.
The API extracts bill details, attaches acceptance metadata (including drawee signature and acceptance date), signs the document using your DID keys for the provided domain, uploads it to storage, and returns the signed W3C credential.

This API returns a redirect URL with sessionId to sign the transaction.
Use the GET endpoint /auth/session-response?sessionId=<sessionId> to retrieve the session result.
The response will include an object under the key wrappedDocument, which contains the content of the .tt file.

If using MCP, enter shipperDomain, holderAddress, and beneficiaryAddress explicitly.

Body Params

Acceptance of Bill of Exchange request

file
required

Bill of Exchange document file (.tt format only). Either billOfExchange or billOfExchangeBase64 is required.

string

Bill of Exchange document file (.tt format only) in base64 format. Either billOfExchange or billOfExchangeBase64 is required.

string
required

Wallet ID of the acceptor

string
required

DNS identifier for the trade registry

string
required

Token Registry address

string
required

Remarks for the acceptance

string
enum
required
Defaults to STABILITY

Select the blockchain network

file
required

Drawee signature image file (PNG, JPG)

Headers
string

Unique key to ensure idempotency for API requests.

string

Unique external ID for tracking purposes, can be used for debugging and analytics.

Responses

401

Token is absent or invalid

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json