Skip to content

Instantly share code, notes, and snippets.

@Zettersten
Last active August 29, 2015 14:07
Show Gist options
  • Save Zettersten/72ad0b833911ee7fdafe to your computer and use it in GitHub Desktop.
Save Zettersten/72ad0b833911ee7fdafe to your computer and use it in GitHub Desktop.
Testing Alphanumeric Gist ID
/*
* Http Post
* Endpoint: https://www.etsemoney.com/hp/v3/adapaters
* Method: Charge
*/
/*
* Request Body
*/
{
"charge" : {
"chargeRequest" : {
"token" : "... Enter Token ...",
"account" : "https://your.com/uri",
"amount" : 123,
"transactionReferenceCode" : "cedc242e-ea22-4dd2-a769-22bd1a9c5f41",
"paymentInstrumentRef" : "... Your Payment Instrument ..."
}
}
}
/*
* Response Body
*/
{
"chargeResponse":{
"transactionReferenceCode":"cedc242e-ea22-4dd2-a769-22bd1a9c5f41"
}
}
@Zettersten
Copy link
Author

A test comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment