Last active
August 29, 2015 14:07
-
-
Save Zettersten/72ad0b833911ee7fdafe to your computer and use it in GitHub Desktop.
Testing Alphanumeric Gist ID
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A test comment.