I have an error when I try to use curl to transfer with a 64 character payment_id. The payment ID is being automatically set to 0000000000000 and is only 16 characters long. Whats wrong with my RPC call?

Thank you.

1 Answer 1


First, the payment_id field in transfer/transfer_split is the same type as used by integrated addresses, i.e. it's a short encrypted ID. It's therefore restricted to 16 characters.

Second, payment IDs are being deprecated, being replaced by subaddresses.


I double checked the current ( wallet RPC release code and this still allows long payment IDs (64 characters). The second point above still holds - they are being deprecated.

For completeness, the OP also placed the payment_id parameter in the wrong place in the JSON payload.

  • Thank you for reply and fixed my grammar, im confused about the payment_id, in the kucoin they have 00000000xxxxxxx custom payment_id with zero in front 16 characters actually got 64 characters. and i try transfer to kucoin address but failed because the payment_id is wrong result is 000000000 only with 16 characters but i already input the payment_id with 64 characters. What should I do ? how to transfer my balance to exchange 64characters from my monero-rpc-wallet ? Thank you Commented May 7, 2019 at 14:35
  • i try send with 16 characters payment_id , when i checked in get_transfer out still "payment_id": "0000000000000000", Commented May 7, 2019 at 14:53
  • this is my tx id, minergate.com/blockchain/xmr/transaction/… i already input the payment id but still not showing in there, Commented May 7, 2019 at 14:58
  • my code curl -u user:password --digest -X POST localhost:18083/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"transfer","params":{"destinations":[{"amount":120000000,"address":"address_wallet","payment_id":"1861433210"}],"account_index":0,"subaddr_indices":[0],"priority":1,"ring_size":7,"get_tx_key": true}}' -H 'Content-Type: application/json' Commented May 7, 2019 at 15:07
  • I see the payment ID present and encrypted on a proper blockchain explorer: xmrchain.net/…
    – jtgrassie
    Commented May 7, 2019 at 15:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.