Skip to content

createIntegrated

AxVultis edited this page Nov 16, 2022 · 1 revision

The createIntegrated method takes an address and a payment ID and returns an integrated address.

Request Format

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 23,
  "method": "createIntegrated",
  "params": {
    "address": "ccx7dehAGh837bfSfo18wJ1WzeCUWnzv3D23hvR8npyhHxoa6E3WXqNgTfHaWbAYRPdUhEXXEeKeEG7okKGHA8CZ3onHHofFDJ",
    "payment_id": "f0ec8e59f64e7689f24452ca5dc7e561601dcabc8464a9cd083db017a5116ee0"
  }
}

Request Details:

Argument Mandatory Description Format
address Yes The address to associate the payment ID with string
payment_id Yes The payment ID string

Response Format

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 23,
  "result": {
    "integrated_address": "ccx7Nn1246bHvqvTUsbcm4A4zuF9ixmnk9Rq4g8fxvQc9uDmC8QhdoQHHkVrHReXtLAbjoFr5Uz4R94XTntTqXWmHxfMJBt5vin37bfSfo18wJ1WzeCUWnzv3D23hvR8npyhHxoa6E3WXqNgTfHaWbAYRPdUhEXXEeKeEG7okKGHA8CZ3onHGJrpEN"
  }
}

Response Details:

Argument Description Format
integrated_address The integrated address created from the address and the payment ID string
Clone this wiki locally