Skip to content

Instantly share code, notes, and snippets.

@andretges
andretges / w1.js
Last active February 29, 2016 12:16
curl -v -XPOST -d @w1.json -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Authorization: Bearer t-o-k-e-n' https://api.w1.ru/KiiioskApi/merchant
{
"PromoCode":"WLnAtQE",
"UserTypeId":"Personal",
"Url":"http://demo.kiiiosk.ru/",
"ResultUrl": "http://api.kiiiosk.ru/v1/callbacks/w1/payments/2/notify",
"Category": "WebDesign",
"CurrencyId": 643,
"Title": "demo.kiiiosk.ru",