-
Notifications
You must be signed in to change notification settings - Fork 12
API
Timothy Wang edited this page Feb 25, 2019
·
4 revisions
https://cr7j581ggh.execute-api.us-east-1.amazonaws.com/Prod
- request
{
clientId: [string],
sender: [string], // sender email
destination: [string], // destination email
transferAmount: [string], // amount in normal unit
cryptoType: [string,] // crypto type,
data: [string], // base64-encoded encrypted escrow wallet
sendTxHash: [string], // send tx hash
}
- response
{
sender: [string], // sender email
destination: [string], // destination email
transferAmount: [string], // amount in normal unit
cryptoType: [string], // crypto type,
sendingId: [string], // transfer id for sender, required for transfer cancellation
sendTxHash: [string], // send tx hash
sendTimestamp: [int], // unit timestamp for the action
}
- request
{
clientId: [string],
receivingId: [string], // transfer id for receiver, required for accepting the transfer
receiveTxHash: [string], // receive tx hash
}
- response
{
sender: [string], // sender email
destination: [string], // destination email
transferAmount: [string], // amount in normal unit
cryptoType: [string], // crypto type,
sendTxHash: [string], // send tx hash
sendTimestamp: [int], // unit timestamp for the action
receivingId: [string], // transfer id for receiver, required for accepting the transfer
receiveTxHash: [string], // receive tx hash
receiveTimestamp: [int], // unit timestamp for the action
}
- request
{
clientId: [string],
sendingId: [string], // transfer id for sender, required for cancellation
cancelTxHash: [string], // cancellation tx hash
}
- response
{
sender: [string], // sender email
destination: [string], // destination email
transferAmount: [string], // amount in normal unit
cryptoType: [string], // crypto type,
sendTxHash: [string], // send tx hash
sendTimestamp: [int], // unit timestamp for the action
cancelTxHash: [string], // cancellation tx hash
cancelTimestamp: [int], // unit timestamp for the action
}