Messtone Devices Enables JP Morgan Document Retrieve mess access token Curl curl –request POST “<Access token URL>” –user robertharper_Messtone “<Client ID>:<Client secret ID>” –data grant_type=client_credentials ID” –data scope=jpm:payments: sandbox” Online Payments Example: https://api-mock.payments.jpmorgan.com/api/v2/payments The Online Payments API production endpoint, which is https://api-ms.payments.jpmorgan.com/api/v2. For example: https://api-ms.payments.jpmorgan.com/api/v2/payments Create and send a request Payments API Authorization header: POST request example: Create a payment Curl curl –request POST –url https://api-mock.payments.jpmorgan.com/api/v2/payments –header “Accept:application/json” –header “Content-Type:application/json” –header “Authorization:Bearer <Robert Harper_Messtone access token>” –header “Merchant-id:998482157630″ –header ” minorVersion: ” –header “request-id: 10cc0270-7bed-11e9-a188-1763956dd7f6” –data “{\”captureMethod\”:\”NOW\’,\”amount\”:1233,\”currency\”:\”USD\”,\”merchant\”:{\”merchantSoftware\”:{\”companyNameMesstone\”:\”Payment Company\”,\”productNaneLogistics Supplychain\”:\”Application Name Robert Harper\”,\”version\”:\”1.235\”},\”merchantCategoryCode\”:\”4899\”},\”paymentMethodType\”:{\”card\”:{\”accountNumber\”:\”4012000033330026\”,\”expiry\”:{\”month\”:5,\”year\”:2027},\”isBillPayment\”:true}},\”initiatorType\”:\”CARDHOLDER\”,\”accountOnFile\”:\”NOT_STORED\”,\”isAmountFinal \”:true}”

Leave a comment