mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
103 lines
17 KiB
YAML
103 lines
17 KiB
YAML
|
---
|
||
|
http_interactions:
|
||
|
- request:
|
||
|
method: post
|
||
|
uri: https://api.payzen.eu/api-payment/V4/PCI/Charge/CreatePayment
|
||
|
body:
|
||
|
encoding: UTF-8
|
||
|
string: '{"amount":118700,"currency":"EUR","orderId":"dffd53627a4901e986862674","formAction":"PAYMENT","contrib":"fab-manager
|
||
|
5.0.1","customer":{"reference":2,"email":"jean.dupond@gmail.com","billingDetails":{"firstName":"Jean","lastName":"Dupont","legalName":null,"address":"14
|
||
|
rue Brecourt, Annecy"},"shippingDetails":{"category":"PRIVATE","shippingMethod":"ETICKET"},"shoppingCart":{"cartItemInfo":[{"productAmount":"5100","productLabel":"Formation
|
||
|
Imprimante 3D","productQty":"1","productType":"SERVICE_FOR_INDIVIDUAL"},{"productAmount":"113600","productLabel":"Abonnement
|
||
|
mensualisable - standard, association, year","productQty":"1","productType":"SERVICE_FOR_INDIVIDUAL"}]}},"device":{"deviceType":"BROWSER","acceptHeader":"text/html","userAgent":"Mozilla/5.0
|
||
|
(Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101","ip":"69.89.31.226","javaEnabled":true,"language":"fr-FR","colorDepth":"32","screenHeight":768,"screenWidth":1258,"timeZoneOffset":-120},"paymentForms":[{"paymentMethodType":"CARD","pan":"4970100000000055","expiryMonth":12,"expiryYear":"21","securityCode":123}]}'
|
||
|
headers:
|
||
|
Authorization:
|
||
|
- Basic Njk4NzYzNTc6dGVzdHBhc3N3b3JkX0RFTU9QUklWQVRFS0VZMjNHNDQ3NXpYWlEyVUE1eDdN
|
||
|
Content-Type:
|
||
|
- application/json
|
||
|
Accept-Encoding:
|
||
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
||
|
Accept:
|
||
|
- "*/*"
|
||
|
User-Agent:
|
||
|
- Ruby
|
||
|
Host:
|
||
|
- api.payzen.eu
|
||
|
response:
|
||
|
status:
|
||
|
code: 200
|
||
|
message: OK
|
||
|
headers:
|
||
|
Date:
|
||
|
- Fri, 11 Jun 2021 12:23:30 GMT
|
||
|
Server:
|
||
|
- Apache
|
||
|
X-Powered-By:
|
||
|
- Undertow/1
|
||
|
Set-Cookie:
|
||
|
- JSESSIONID=r6TLog8sSHD6F1SHWZid8Ti_aeZ9STOsn-sWc9V3.vadapi01-tls-prod-fr-lyra;
|
||
|
path=/api-payment
|
||
|
Ecspaymentid:
|
||
|
- b5e6d6a0a30645c882c96b0de61c04f6
|
||
|
Vary:
|
||
|
- Accept-Encoding,User-Agent
|
||
|
Timing-Allow-Origin:
|
||
|
- "*"
|
||
|
Content-Length:
|
||
|
- '1948'
|
||
|
Content-Type:
|
||
|
- application/json;charset=utf-8
|
||
|
body:
|
||
|
encoding: ASCII-8BIT
|
||
|
string: !binary |-
|
||
|
eyJ3ZWJTZXJ2aWNlIjoiUENJL0NoYXJnZS9DcmVhdGVQYXltZW50IiwidmVyc2lvbiI6IlY0IiwiYXBwbGljYXRpb25WZXJzaW9uIjoiNS4yNC4wIiwic3RhdHVzIjoiU1VDQ0VTUyIsImFuc3dlciI6eyJzaG9wSWQiOiI2OTg3NjM1NyIsIm9yZGVyQ3ljbGUiOiJDTE9TRUQiLCJvcmRlclN0YXR1cyI6IlBBSUQiLCJzZXJ2ZXJEYXRlIjoiMjAyMS0wNi0xMVQxMjoyMzozMSswMDowMCIsIm9yZGVyRGV0YWlscyI6eyJvcmRlclRvdGFsQW1vdW50IjoxMTg3MDAsIm9yZGVyRWZmZWN0aXZlQW1vdW50IjoxMTg3MDAsIm9yZGVyQ3VycmVuY3kiOiJFVVIiLCJtb2RlIjoiVEVTVCIsIm9yZGVySWQiOiJkZmZkNTM2MjdhNDkwMWU5ODY4NjI2NzQiLCJfdHlwZSI6IlY0L09yZGVyRGV0YWlscyJ9LCJjdXN0b21lciI6eyJiaWxsaW5nRGV0YWlscyI6eyJhZGRyZXNzIjoiMTQg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0aG9yaXphdGlvblJlc3BvbnNlIjp7ImFtb3VudCI6MTE4NzAwLCJjdXJyZW5jeSI6IkVVUiIsImF1dGhvcml6YXRpb25EYXRlIjoiMjAyMS0wNi0xMVQxMjoyMzozMCswMDowMCIsImF1dGhvcml6YXRpb25OdW1iZXIiOiIzZmVhMTciLCJhdXRob3JpemF0aW9uUmVzdWx0IjoiMCIsImF1dGhvcml6YXRpb25Nb2RlIjoiRlVMTCIsIl90eXBlIjoiVjQvUGF5bWVudE1ldGhvZC9EZXR
|
||
|
recorded_at: Fri, 11 Jun 2021 12:23:31 GMT
|
||
|
- request:
|
||
|
method: post
|
||
|
uri: https://api.payzen.eu/api-payment/V4/Order/Get/
|
||
|
body:
|
||
|
encoding: UTF-8
|
||
|
string: '{"orderId":"dffd53627a4901e986862674","operationType":"DEBIT"}'
|
||
|
headers:
|
||
|
Authorization:
|
||
|
- Basic Njk4NzYzNTc6dGVzdHBhc3N3b3JkX0RFTU9QUklWQVRFS0VZMjNHNDQ3NXpYWlEyVUE1eDdN
|
||
|
Content-Type:
|
||
|
- application/json
|
||
|
Accept-Encoding:
|
||
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
||
|
Accept:
|
||
|
- "*/*"
|
||
|
User-Agent:
|
||
|
- Ruby
|
||
|
Host:
|
||
|
- api.payzen.eu
|
||
|
response:
|
||
|
status:
|
||
|
code: 200
|
||
|
message: OK
|
||
|
headers:
|
||
|
Date:
|
||
|
- Fri, 11 Jun 2021 12:23:31 GMT
|
||
|
Server:
|
||
|
- Apache
|
||
|
X-Powered-By:
|
||
|
- Undertow/1
|
||
|
Set-Cookie:
|
||
|
- JSESSIONID=tQtZz1beAMixfISqOGhzUT_RP-jczC71aSUMZS4d.vadapi01-tls-prod-fr-lyra;
|
||
|
path=/api-payment
|
||
|
Vary:
|
||
|
- Accept-Encoding,User-Agent
|
||
|
Timing-Allow-Origin:
|
||
|
- "*"
|
||
|
Content-Length:
|
||
|
- '1868'
|
||
|
Content-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