Skip to content

Instantly share code, notes, and snippets.

@sebicas
Created August 10, 2014 22:13
Show Gist options
  • Save sebicas/7276c7937d6ed9d68a69 to your computer and use it in GitHub Desktop.
Save sebicas/7276c7937d6ed9d68a69 to your computer and use it in GitHub Desktop.
Stellar Payment API Call
curl -X POST https://live.stellar.org:9002 -d '
{
"method": "submit",
"params": [
{
"secret": "<private key>",
"tx_json": {
"TransactionType": "Payment",
"Account": "<public key>",
"Destination": "g4eRqgZfzfj3132y17iaf2fp6HQj1gofjt",
"Amount": {
"currency": "STR",
"value": "10"
}
}
}
]
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment