Extract the embedded payment ID from a Monero integrated address
A legacy deposit system may identify a customer by an integrated address. Extract the embedded short payment ID and destination before migrating the record.
Decode the original address
Use the original integrated address on the correct network. Keep the returned payment_id as a hexadecimal string and preserve any leading zeroes. Record the returned standard address alongside it. POST this example to /json_rpc on monero-wallet-rpc.
{
"jsonrpc": "2.0",
"id": "guide",
"method": "split_integrated_address",
"params": {
"integrated_address": "<Monero integrated address>"
}
}
Keep matching scoped to the destination
Two unrelated deposit systems can assign the same short payment ID. A local reconciliation key must therefore include the receiving wallet or address context. A successful split only decodes the request. Check actual incoming transfers before crediting the customer.