Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 2.38 KB

File metadata and controls

35 lines (26 loc) · 2.38 KB

CreateSatoshiTestChallengeRequest

Request body for creating a Satoshi Test challenge. A single endpoint covers both the two-step flow (PREPARE then SUBMIT) and the one-shot flow (SUBMIT directly). Idempotent on (chain_id, from_address) per organization.

Properties

Name Type Description Notes
action SatoshiTestChallengeAction
chain_id str The chain ID of the counterparty address. See the operation description for supported chains.
from_address str The counterparty (self-custody) wallet address that will transfer the micro-deposit.
transaction_id str The Cobo transaction ID that this Satoshi Test is verifying for.
transaction_type TravelRuleTransactionType
challenge_id str The `challenge_id` returned by a previous `PREPARE` call. - When `action=SUBMIT`: if provided, activates that specific challenge by id (recommended when you cached the id client-side after `PREPARE`). If omitted, the server activates the latest matching challenge identified by `(chain_id, from_address)`. - When `action=PREPARE`: must be omitted. A new challenge is always generated; passing a `challenge_id` here will cause the request to be rejected. [optional]

Example

from cobo_waas2.models.create_satoshi_test_challenge_request import CreateSatoshiTestChallengeRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateSatoshiTestChallengeRequest from a JSON string
create_satoshi_test_challenge_request_instance = CreateSatoshiTestChallengeRequest.from_json(json)
# print the JSON string representation of the object
print(CreateSatoshiTestChallengeRequest.to_json())

# convert the object into a dict
create_satoshi_test_challenge_request_dict = create_satoshi_test_challenge_request_instance.to_dict()
# create an instance of CreateSatoshiTestChallengeRequest from a dict
create_satoshi_test_challenge_request_from_dict = CreateSatoshiTestChallengeRequest.from_dict(create_satoshi_test_challenge_request_dict)

[Back to Model list] [Back to API list] [Back to README]