Sign payload
curl --request POST \
--url https://api.byzantine.fi/v1/submit/sign-payload-passkey \
--header 'Content-Type: application/json' \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--data '
{
"signedBody": {
"type": "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2",
"timestampMs": "<string>",
"organizationId": "<string>",
"parameters": {
"signWith": "<string>",
"payload": "<string>",
"encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
"hashFunction": "HASH_FUNCTION_NO_OP"
}
},
"transactionId": "550e8400-e29b-41d4-a716-446655440000",
"webAuthnStamp": "<string>"
}
'import requests
url = "https://api.byzantine.fi/v1/submit/sign-payload-passkey"
payload = {
"signedBody": {
"type": "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2",
"timestampMs": "<string>",
"organizationId": "<string>",
"parameters": {
"signWith": "<string>",
"payload": "<string>",
"encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
"hashFunction": "HASH_FUNCTION_NO_OP"
}
},
"transactionId": "550e8400-e29b-41d4-a716-446655440000",
"webAuthnStamp": "<string>"
}
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
signedBody: {
type: 'ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2',
timestampMs: '<string>',
organizationId: '<string>',
parameters: {
signWith: '<string>',
payload: '<string>',
encoding: 'PAYLOAD_ENCODING_HEXADECIMAL',
hashFunction: 'HASH_FUNCTION_NO_OP'
}
},
transactionId: '550e8400-e29b-41d4-a716-446655440000',
webAuthnStamp: '<string>'
})
};
fetch('https://api.byzantine.fi/v1/submit/sign-payload-passkey', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"transactionId": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"broadcastedAt": "2025-11-19T21:16:02.894Z",
"transactionHash": "<string>",
"fiatDepositInstructions": {
"currency": "usd",
"bankName": "Lead Bank",
"bankAddress": "1801 Main St., Kansas City, MO 64108",
"paymentRails": [
"achPush"
],
"bankBeneficiaryName": "John Smith",
"expectedDepositAmount": "123.456789",
"bankBeneficiaryAddress": "1234 Main St., Kansas City, MO 64108",
"bankAccountNumber": "1234567890",
"bankRoutingNumber": "87654321",
"iban": "FR12345678901234567890",
"bic": "BICFR12345"
},
"destinationBankAccount": {
"country": "FRA",
"last4": "0804",
"bic": "BICFR12345"
},
"withdrawalRequest": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"status": "pending"
}
}{
"transactionId": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"broadcastedAt": "2025-11-19T21:16:02.894Z",
"transactionHash": "<string>",
"fiatDepositInstructions": {
"currency": "usd",
"bankName": "Lead Bank",
"bankAddress": "1801 Main St., Kansas City, MO 64108",
"paymentRails": [
"achPush"
],
"bankBeneficiaryName": "John Smith",
"expectedDepositAmount": "123.456789",
"bankBeneficiaryAddress": "1234 Main St., Kansas City, MO 64108",
"bankAccountNumber": "1234567890",
"bankRoutingNumber": "87654321",
"iban": "FR12345678901234567890",
"bic": "BICFR12345"
},
"destinationBankAccount": {
"country": "FRA",
"last4": "0804",
"bic": "BICFR12345"
},
"withdrawalRequest": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"status": "pending"
}
}Passkey flow
Sign payload
Sign a payload allowing Byzantine to make, execute and sponsor the transaction.
POST
/
v1
/
submit
/
sign-payload-passkey
Sign payload
curl --request POST \
--url https://api.byzantine.fi/v1/submit/sign-payload-passkey \
--header 'Content-Type: application/json' \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--data '
{
"signedBody": {
"type": "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2",
"timestampMs": "<string>",
"organizationId": "<string>",
"parameters": {
"signWith": "<string>",
"payload": "<string>",
"encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
"hashFunction": "HASH_FUNCTION_NO_OP"
}
},
"transactionId": "550e8400-e29b-41d4-a716-446655440000",
"webAuthnStamp": "<string>"
}
'import requests
url = "https://api.byzantine.fi/v1/submit/sign-payload-passkey"
payload = {
"signedBody": {
"type": "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2",
"timestampMs": "<string>",
"organizationId": "<string>",
"parameters": {
"signWith": "<string>",
"payload": "<string>",
"encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
"hashFunction": "HASH_FUNCTION_NO_OP"
}
},
"transactionId": "550e8400-e29b-41d4-a716-446655440000",
"webAuthnStamp": "<string>"
}
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
signedBody: {
type: 'ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2',
timestampMs: '<string>',
organizationId: '<string>',
parameters: {
signWith: '<string>',
payload: '<string>',
encoding: 'PAYLOAD_ENCODING_HEXADECIMAL',
hashFunction: 'HASH_FUNCTION_NO_OP'
}
},
transactionId: '550e8400-e29b-41d4-a716-446655440000',
webAuthnStamp: '<string>'
})
};
fetch('https://api.byzantine.fi/v1/submit/sign-payload-passkey', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"transactionId": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"broadcastedAt": "2025-11-19T21:16:02.894Z",
"transactionHash": "<string>",
"fiatDepositInstructions": {
"currency": "usd",
"bankName": "Lead Bank",
"bankAddress": "1801 Main St., Kansas City, MO 64108",
"paymentRails": [
"achPush"
],
"bankBeneficiaryName": "John Smith",
"expectedDepositAmount": "123.456789",
"bankBeneficiaryAddress": "1234 Main St., Kansas City, MO 64108",
"bankAccountNumber": "1234567890",
"bankRoutingNumber": "87654321",
"iban": "FR12345678901234567890",
"bic": "BICFR12345"
},
"destinationBankAccount": {
"country": "FRA",
"last4": "0804",
"bic": "BICFR12345"
},
"withdrawalRequest": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"status": "pending"
}
}{
"transactionId": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"broadcastedAt": "2025-11-19T21:16:02.894Z",
"transactionHash": "<string>",
"fiatDepositInstructions": {
"currency": "usd",
"bankName": "Lead Bank",
"bankAddress": "1801 Main St., Kansas City, MO 64108",
"paymentRails": [
"achPush"
],
"bankBeneficiaryName": "John Smith",
"expectedDepositAmount": "123.456789",
"bankBeneficiaryAddress": "1234 Main St., Kansas City, MO 64108",
"bankAccountNumber": "1234567890",
"bankRoutingNumber": "87654321",
"iban": "FR12345678901234567890",
"bic": "BICFR12345"
},
"destinationBankAccount": {
"country": "FRA",
"last4": "0804",
"bic": "BICFR12345"
},
"withdrawalRequest": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"status": "pending"
}
}Headers
Query Parameters
Body
application/json
The payload body details signed by the user - passkey auth
Cryptographically passkey signed (stamped). For more info, see authentication methods.
Response
Transaction sent successfully

