This API call is used to complete the request to notarize a document issued previously without using the storage of S3.
HTTP Request notarization without storage
POST https://app.dedit.io/api/v2/registration/{hash of the request}/forfait
Example of a valid request body:
{
"sessionId":"cs_live_0BmfZx5ORHIuf3doTcIR3AD8W1zb4BdwGwh9qjUtZbQaztFjpHohj5zC1",
"id":"sub_1KeRbLGkNaUEmxxxKjvhTH",
"userId":1098,
"planId":"price_1KeRVwGkxxxxmNJUHlWqB2La",
"planNickname":"Dedit Milleallanno",
"status":"active",
"created":1647555323,
"currentPeriodStart":1647555323,
"currentPeriodEnd":1679091323,
"canceledAt":0,
"customer":"cus_LF6zkMz7xxxxBm",
"defaultPaymentMethod":null,
"latestInvoice":"in_1KeRbLxxxxEmNJUDfjoxzZk"
}
The above command returns a JSON structured like this:
{
"hash":"905d4f33b218427e8371341674a913db02402f648fef6cdf47c16f65d2dd3001",
"description":"TEST 13-04-2022",
"custody":false,
"signed":false,
"signer":null,
"signature":null,
"txHash":null,
"status":"registered",
"blockchainType":"ALGORAND",
"holder":null,
"txId":null,
"assetId":null,
"tags":[],
"paymentId":"sub_1KeRbLGkccccU17KjvhTH",
"creationDate":1649855665000,
"payload":null,
"userId":1098
}