Sign payment step
Changed onSubmit a signature for a self-custodial payment step. Webhook updates will be sent as the signature is validated and submitted onchain.
Request
- Base URLhttps://api.tesser.xyz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique identifier of the payment
Unique identifier of the payment step to sign
Request body
Example request
{
"signature": "<base64({body, stamp})>"
}Response
Signature accepted. In turn: the step is confirmed with its broadcast transaction_hash; completed follows finality. Queued behind an earlier nonce from the same wallet: the step is signed with transaction_hash null until it broadcasts.
Example response
{
"data": {
"id": "5a9c3e7f-2b1d-4f48-a6e0-8c4b2d1f9a3e",
"workspace_id": "b53f6690-3242-4942-9907-885779632832",
"organization_reference_id": "ref_123",
"direction": "inbound",
"funding_account_id": "2a8f4c1e-9b3d-4e56-b7a0-5c6d2e1f9b3a",
"risk_status": "automatically_approved",
"risk_status_reasons": [
{
"risk_status_reason_type": "OWNERSHIP",
"risk_status_reason_category": "Exchange",
"risk_status_reason_participant_id": null,
"risk_status_reason_message": "Address has OWNERSHIP activity for Exchange over its threshold",
"risk_status_reason_severity": "Low",
"risk_status_reason_significance": "DECISIVE",
"volume_usd_percent": "60.00",
"volume_usd_percent_threshold": "1",
"volume_usd_amount": "30000.00",
"volume_usd_amount_threshold": null,
"confidence_score": null,
"confidence_score_threshold": null
},
{
"risk_status_reason_type": "COUNTERPARTY",
"risk_status_reason_category": "Gaming",
"risk_status_reason_participant_id": null,
"risk_status_reason_message": "Address has COUNTERPARTY exposure to Gaming over its threshold",
"risk_status_reason_severity": "Low",
"risk_status_reason_significance": "DECISIVE",
"volume_usd_percent": "12.00",
"volume_usd_percent_threshold": "2",
"volume_usd_amount": "6000.00",
"volume_usd_amount_threshold": null,
"confidence_score": null,
"confidence_score_threshold": null
}
],
"provider_metadata": [],
"participants": [
{
"role": "BENEFICIARY",
"resource": {
"resource_type": "WORKSPACE",
"id": "b53f6690-3242-4942-9907-885779632832",
"name_match_score": null,
"name_match_threshold": null,
"name_match_comparison_id": null,
"resolution": "USER_SUPPLIED_ID"
}
},
{
"role": "ORIGINATOR_VASP",
"resource": {
"resource_type": "COUNTERPARTY",
"id": "a4c1f0b8-2e9d-4a63-b7c5-1d8f6e0a3c92",
"name_match_score": "100",
"name_match_threshold": "85",
"name_match_comparison_id": "a4c1f0b8-2e9d-4a63-b7c5-1d8f6e0a3c92",
"resolution": "EXACT_MATCH"
}
}
],
"balance_status": "unreserved",
"steps": [],
"created_at": "2024-03-01T10:00:00.000Z",
"updated_at": "2024-03-01T10:00:00.000Z",
"expires_at": "2024-03-02T10:00:00.000Z"
}
}Changes
- warning
added the new
BENEFICIARY_UPDATEDenum value to the///////response property for the response status - warning
added the new
ORIGINATOR_UPDATEDenum value to the///////response property for the response status - warning
added the new
ORIGINATOR_VASP_UPDATEDenum value to the///////response property for the response status
- warning
- breaking
the
request property's minLength was increased from0to1 - breaking
the response property
/////became nullable for the status - breaking
the
/////response's property format changed fromdate-timeto no format for status - breaking
the
//////response's property type changed fromstringtoobjectfor status - breaking
the
////////response's property type changed fromstringtoobjectfor status - breaking
the
/////response's property format changed fromdate-timeto no format for status - breaking
removed the required property
/////from the response with the status - breaking
removed the required property
/////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
///////from the response with the status - breaking
removed the required property
/////from the response with the status - breaking
removed the required property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
///////from the response with the status - warning
removed the optional property
///////from the response with the status - warning
removed the optional property
///////from the response with the status - warning
removed the optional property
///////from the response with the status - warning
removed the optional property
///////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
added the new
automatically_approvedenum value to the/////response property for the response status - warning
added the new
automatically_rejectedenum value to the/////response property for the response status - warning
added the new
capaenum value to the///////response property for the response status - warning
added the new
krakenenum value to the///////response property for the response status - warning
added the new
openfxenum value to the///////response property for the response status - warning
added the new
undefinedenum value to the/////response property for the response status - warning
added the new
zubaenum value to the///////response property for the response status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
to the response with the status - info
the response property
/////became required for the status - info
the response property
/////became required for the status - info
the response property
/////became required for the status - info
the response property
/////became required for the status - info
the response property
/////became required for the status - info
the response property
///////became required for the status - info
removed the
alfredenum value from the///////response property for the response status - info
removed the
auto_approvedenum value from the/////response property for the response status - info
removed the
auto_rejectedenum value from the/////response property for the response status - info
removed the
finalizedenum value from the///////response property for the response status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
///////to the response with the status - info
added the required property
///////to the response with the status - info
added the required property
///////to the response with the status - info
added the required property
///////to the response with the status - info
added the required property
///////to the response with the status - info
added the required property
///////to the response with the status - info
added the required property
///////to the response with the status - info
added the required property
/////////to the response with the status - info
added the required property
/////////to the response with the status
- breaking