Last active
August 29, 2015 14:07
-
-
Save Zettersten/e0b2ea5b2a83471fa6cf to your computer and use it in GitHub Desktop.
'ThePlatform' - Create Payment Instrument Request
This file contains hidden or 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: Create Payment Instrument | |
*/ | |
/* | |
* Request Body | |
*/ | |
{ | |
"createPaymentInstrument" : { | |
"createPaymentInstrumentRequest" : { | |
"token" : "... Enter Token ...", | |
"account": "http://your.com/uri", | |
"name" : "Test User", | |
"properties" : { | |
"id" : "7725e700-c9c6-4f59-aae2-80dde88c4f1b" | |
} | |
} | |
} | |
} | |
/* | |
* Response Body | |
*/ | |
{ | |
"createPaymentInstrumentResponse":{ | |
"paymentInstrumentRef":"... Your Payment Instrument ...", | |
"transactionReferenceCode":"d4ee2e03-35d8-4c6b-a276-60ac116e5967" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment