SHARE
TWEET

Untitled

a guest Jan 22nd, 2020 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     ┌────── Request ────────────────────────────────────────────────────────────────────────
  2.     │ URL: https://api.wayforpay.com/api/
  3.     │
  4.     │ Method: @POST
  5.     │
  6.     │ Headers:
  7.     │ ┌ lng: RU
  8.     │ └ customerID: 00623c46-3682-11e9-a2ca-005056a3ab7d
  9.     │
  10.     │ Body:
  11.     │ {
  12.     │    "amount": 1.19,
  13.     │    "apiVersion": 1,
  14.     │    "cardHolder": "Bogdan",
  15.     │    "clientCountry": "UKR",
  16.     │    "clientEmail": "db@rj.com",
  17.     │    "clientFirstName": "Олег",
  18.     │    "clientLastName": "Павліков",
  19.     │    "clientPhone": "0633259545",
  20.     │    "currency": "UAH",
  21.     │    "gpApiVersion": 2,
  22.     │    "gpApiVersionMinor": 0,
  23.     │    "gpPMDescription": "mono",
  24.     │    "gpPMTCardDetails": "5765",
  25.     │    "gpPMTCardNetwork": "MASTERCARD",
  26.     │    "gpPMType": "CARD",
  27.     │    "gpToken": "{\"signature\":\"MEUCIQCazGDeE3+czr24c8Sq1CKQ+CKWur4SwygefhjT5xwVSQIgE+b5Qv4ZGOEUvETcmk4oM0jyJc
  28.     │ AFdOfdILgUik0fbss\\u003d\",\"intermediateSigningKey\":{\"signedKey\":\"{\\\"keyValue\\\":\\\"MFkwEwYHKoZIzj0CA
  29.     │ QYIKoZIzj0DAQcDQgAEjIZKSCFVh6lfVtsDtqELs4sWpWKMOv85WG3YMgn+GUFq8GCHhYMftGPqMMSyYV7tWmQlVQPYULajTcwiGlwiyw\\\\u
  30.     │ 003d\\\\u003d\\\",\\\"keyExpiration\\\":\\\"1580392107915\\\"}\",\"signatures\":[\"MEUCIQCkMQXOFhvRhKVDW2bPdQ0
  31.     │ UZTgHIR2E5PvtHu7Mszi1jQIgIX\/7T3vrdNkcAosBSS\/0NjZeoI6nmNnSe2Bf2T+O3Bo\\u003d\"]},\"protocolVersion\":\"ECv2\"
  32.     │ ,\"signedMessage\":\"{\\\"encryptedMessage\\\":\\\"4Z9lM29I\/LbQtClobuFnaGKBHPH\/tRokwlhJSHVedvCVGIEICKoITd0VY
  33.     │ R62uYD7JGHcCG1BOHQUSJwtWWuIJFr61xQI8FRKCrE0cdJznKwR0i\/\/ueqFHD+Uewn7YhVRibpGXuM+O9VepsgakuabZaAmy9uCN8kVM8z\/
  34.     │ MJkmsVANu3dGKmMNmjD2G8S+rAyWHz6Xb7KjjoFFsiRXDd2\/eIRD5+CTjGTMAuAd4zwzop6k\/\/e3JsCqMmCQy9LHjGlIfLNRys9nj3p+WdT
  35.     │ GVxj5XXaVZ8H2qv0eGfBWewUsYWkClUMUDECPqh4gZKkJOrrBTptciSTwd7d3hOx52UJyXKUiVTd8DGKrpx3AUludHhcOHLxP5LBW\/9Bksf\/
  36.     │ pjgfA5k\/iccnf+nCrCoE7598vM+M+ocS7N8V6+dnyJOxXv99alj2SFz1UWq9xj8u49nNC\/+NboqXvrZDNMf4zfZ9OehVnhLceeiFuIgO04T1
  37.     │ hc4P5MFb7XDLHfTO83J+u8QzLHwzntSITIroPR\/L6MrcIJDSR+O31JWmThYFPX\/6+9Auy9FUlmowxaBulQ0FPVOit3PjWcqYggwA\\\\u003
  38.     │ d\\\",\\\"ephemeralPublicKey\\\":\\\"BIZUNdbsKhLjYYSRhWBvtlePKv1FHz7tqd5p3GqVIfhcRUIZc46jVftAYVu5vSBRPW\/KI1xr
  39.     │ U0LyAG0f5u5Ux90\\\\u003d\\\",\\\"tag\\\":\\\"q4z2LHHanHQ918kfWv5qCMszBgGW20zKxQ0tbpsSzW0\\\\u003d\\\"}\"}",
  40.     │    "gpTokenizationType": "PAYMENT_GATEWAY",
  41.     │    "holdTimeout": 1000000,
  42.     │    "merchantAccount": "my_lombard_capital_com_ua",
  43.     │    "merchantDomainName": "my.lombard-capital.com.ua",
  44.     │    "merchantSignature": "9768a4a95f8f309ef9ec224aa20e20e2",
  45.     │    "merchantTransactionSecureType": "AUTO",
  46.     │    "merchantTransactionType": "AUTH",
  47.     │    "orderDate": 1579705790,
  48.     │    "orderReference": "CP-282-2",
  49.     │    "productCount": [
  50.     │       1
  51.     │    ],
  52.     │    "productName": [
  53.     │       "Ланцюги (брухт), Срібло 925, вага (з.) 20,00 г., вага (ч.) 20,00 г."
  54.     │    ],
  55.     │    "productPrice": [
  56.     │       1.19
  57.     │    ],
  58.     │    "serviceUrl": "https:\/\/hs.lombard.credit\/backend_kuznetsov\/hs\/backend\/0027c208-79f8-42f6-82ea-af4e39a
  59.     │ c5116\/get_payment_callback",
  60.     │    "transactionType": "CHARGE"
  61.     │ }
  62.     └───────────────────────────────────────────────────────────────────────────────────────
  63.  
  64.     ┌────── Response ───────────────────────────────────────────────────────────────────────
  65.     │ URL: https://api.wayforpay.com/api/
  66.     │
  67.     │ /api/ - is success : true - Received in: 389ms
  68.     │
  69.     │ Status Code: 200 / OK
  70.     │
  71.     │ Headers:
  72.     │ ┌ Server: nginx
  73.     │ ├ Date: Wed, 22 Jan 2020 15:10:33 GMT
  74.     │ ├ Content-Type: text/html; charset=UTF-8
  75.     │ ├ Transfer-Encoding: chunked
  76.     │ ├ Connection: keep-alive
  77.     │ ├ Cache-Control: private, must-revalidate
  78.     │ ├ pragma: no-cache
  79.     │ ├ expires: -1
  80.     │ ├ Strict-Transport-Security: max-age=63072000
  81.     │ ├ X-Content-Type-Options: nosniff
  82.     │ ├ X-Frame-Options: : sameorigin
  83.     │ ├ Strict-Transport-Security: max-age=63072000
  84.     │ ├ X-Content-Type-Options: nosniff
  85.     │ └ X-Frame-Options: sameorigin
  86.     │
  87.     │ Body:
  88.     │ {
  89.     │    "reasonCode": 1118,
  90.     │    "reason": "Merchant Restriction"
  91.     │ }
  92.     └───────────────────────────────────────────────────────────────────────────────────────
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top