|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: null |
| 4 | + headers: |
| 5 | + Accept: |
| 6 | + - '*/*' |
| 7 | + Accept-Encoding: |
| 8 | + - gzip, deflate |
| 9 | + Authorization: |
| 10 | + - DUMMY |
| 11 | + Connection: |
| 12 | + - keep-alive |
| 13 | + User-Agent: |
| 14 | + - cuenca-python/0.3.6 |
| 15 | + X-Cuenca-Api-Version: |
| 16 | + - '2020-03-19' |
| 17 | + x-amz-content-sha256: |
| 18 | + - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 |
| 19 | + x-amz-date: |
| 20 | + - 20201029T211344Z |
| 21 | + method: GET |
| 22 | + uri: https://sandbox.cuenca.com/card_transactions/CT002 |
| 23 | + response: |
| 24 | + body: |
| 25 | + string: '{"id":"CT002","created_at":"2020-10-29T18:04:37.414000","user_id":"US4PCNV8rLB2wqBfORzIAXUl","amount":300,"status":"created","descriptor":"Superama |
| 26 | + Michoacan","type":"refund","network":"visa","related_card_transaction_uris":["/card_transactions/CT001"],"card_id":"CA001","card_last4":"0359","card_type":"virtual","metadata":{"authorizer_number":null,"card_acceptor":null,"commission":null,"currency_code":"484","is_cvv":null,"pos_capabilty":null,"prosa_transaction_id":"38007","retrieval_reference":"444838149","track_data_method":null,"transaction_reference":null},"error_type":null}' |
| 27 | + headers: |
| 28 | + Connection: |
| 29 | + - keep-alive |
| 30 | + Content-Length: |
| 31 | + - '659' |
| 32 | + Content-Type: |
| 33 | + - application/json |
| 34 | + Date: |
| 35 | + - Thu, 29 Oct 2020 21:13:44 GMT |
| 36 | + Via: |
| 37 | + - 1.1 fef232a36f2d64e8401caff3be58f4fc.cloudfront.net (CloudFront) |
| 38 | + X-Amz-Cf-Id: |
| 39 | + - 4WuDXoq-_GWtMLx6kiNBPWtX2BpR211K3UJSdnbP24GiScNcXF2HlQ== |
| 40 | + X-Amz-Cf-Pop: |
| 41 | + - IAH50-C1 |
| 42 | + X-Amzn-Trace-Id: |
| 43 | + - Root=1-5f9b3088-54cfc3235bfff8a00655b709;Sampled=0 |
| 44 | + X-Cache: |
| 45 | + - Miss from cloudfront |
| 46 | + x-amz-apigw-id: |
| 47 | + - VMSFZGONoAMF7zA= |
| 48 | + x-amzn-RequestId: |
| 49 | + - 0d065a8f-9a36-47ec-88b1-1b3bfcb1e215 |
| 50 | + status: |
| 51 | + code: 200 |
| 52 | + message: OK |
| 53 | +- request: |
| 54 | + body: null |
| 55 | + headers: |
| 56 | + Accept: |
| 57 | + - '*/*' |
| 58 | + Accept-Encoding: |
| 59 | + - gzip, deflate |
| 60 | + Authorization: |
| 61 | + - DUMMY |
| 62 | + Connection: |
| 63 | + - keep-alive |
| 64 | + User-Agent: |
| 65 | + - cuenca-python/0.3.6 |
| 66 | + X-Cuenca-Api-Version: |
| 67 | + - '2020-03-19' |
| 68 | + x-amz-content-sha256: |
| 69 | + - e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 |
| 70 | + x-amz-date: |
| 71 | + - 20201029T211344Z |
| 72 | + method: GET |
| 73 | + uri: https://sandbox.cuenca.com/card_transactions/CT001 |
| 74 | + response: |
| 75 | + body: |
| 76 | + string: '{"id":"CT001","created_at":"2020-10-29T18:04:37.396000","user_id":"US4PCNV8rLB2wqBfORzIAXUl","amount":300,"status":"created","descriptor":"Superama |
| 77 | + Michoacan","type":"auth","network":"visa","related_card_transaction_uris":["/card_transactions/CT002","/card_transactions/CT2pnV82umR0FnxWsDwHBFq","/card_transactions/CTXoLAkUBeZY7arY4XyuaYp"],"card_id":"CA001","card_last4":"0359","card_type":"virtual","metadata":{"authorizer_number":null,"card_acceptor":null,"commission":null,"currency_code":"484","is_cvv":null,"pos_capabilty":null,"prosa_transaction_id":"36776","retrieval_reference":"691159329","track_data_method":null,"transaction_reference":null},"error_type":null}' |
| 78 | + headers: |
| 79 | + Connection: |
| 80 | + - keep-alive |
| 81 | + Content-Length: |
| 82 | + - '747' |
| 83 | + Content-Type: |
| 84 | + - application/json |
| 85 | + Date: |
| 86 | + - Thu, 29 Oct 2020 21:13:45 GMT |
| 87 | + Via: |
| 88 | + - 1.1 fef232a36f2d64e8401caff3be58f4fc.cloudfront.net (CloudFront) |
| 89 | + X-Amz-Cf-Id: |
| 90 | + - LIS9DTnDXufnad7kEAG_UcUfcFs7laqNSgFpJx5vwbGGeAXMACHszA== |
| 91 | + X-Amz-Cf-Pop: |
| 92 | + - IAH50-C1 |
| 93 | + X-Amzn-Trace-Id: |
| 94 | + - Root=1-5f9b3089-4586ce643d7ee31e3c819823;Sampled=0 |
| 95 | + X-Cache: |
| 96 | + - Miss from cloudfront |
| 97 | + x-amz-apigw-id: |
| 98 | + - VMSFbFGyIAMFcMQ= |
| 99 | + x-amzn-RequestId: |
| 100 | + - 99f43c26-2aea-4de7-b03d-9113ff28a3ed |
| 101 | + status: |
| 102 | + code: 200 |
| 103 | + message: OK |
| 104 | +version: 1 |
0 commit comments