Skip to content

Instantly share code, notes, and snippets.

@0xASK
Last active July 27, 2020 19:13
Show Gist options
  • Save 0xASK/aa7f830899354b283f93527a8d270782 to your computer and use it in GitHub Desktop.
Save 0xASK/aa7f830899354b283f93527a8d270782 to your computer and use it in GitHub Desktop.
{
// payload as it currently exists
"payId": "<string>",
"identityKey": "<string>" // base64 encoded identity key
"addresses": [
{
"paymentNetwork": "<string>",
"environment": "<string>",
"details": {
"address": "<string>"
}
},
{
"payment_network": "<string>",
"environment": "<string>",
"details": {
"address": "<string>"
}
}
],
// proposed new fields
"verifiedAddresses": [
{
"payload": {
"payId": "<string>", // Required, associates an address with a given PayID in the signature.
"payIdAddress": {
"paymentNetwork": "<string>",
"environment": "<string>",
"addressDetailsType": "<string>",
"addressDetails": {
"address": "<string>"
}
}
},
signatures: [
{
"name": "<string>", // value for now will be "IdentityKey"
"protected": "<string>" // base64 encoded identity key
"signature": "<string>" // base64 encoded
}
}
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment