Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
1,346 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
interactions: | ||
- request: | ||
body: '{"biller_id": 40, "account_number": "501000000007"}' | ||
headers: | ||
Accept: | ||
- application/vnd.regalii.v3.1+json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Authorization: | ||
- APIAuth 88879c1b066dc9aea6201f27be2bbba9:mzDq57CXdpeA/0Rp9Vz5FuEItb8= | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '51' | ||
Content-MD5: | ||
- PtZUYQ9bmh3ULNV0W7ZNdw== | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Tue, 03 Sep 2019 05:04:59 GMT | ||
User-Agent: | ||
- python-requests/2.21.0 | ||
method: POST | ||
uri: https://api.casiregalii.com/bills | ||
response: | ||
body: | ||
string: '{"type":"bill","id":8390,"biller_id":40,"account_number":"501000000007","name_on_account":null,"due_date":"2019-09-03T00:00:00Z","balance":-10.0,"balance_currency":"MXN","balance_updated_at":"2019-09-03T05:04:59Z","error_code":null,"error_message":null,"status":"linked","migrated_at":null,"mfa_challenges":[]}' | ||
headers: | ||
Cache-Control: | ||
- max-age=0, private, must-revalidate | ||
Connection: | ||
- keep-alive | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
Date: | ||
- Tue, 03 Sep 2019 05:05:00 GMT | ||
ETag: | ||
- W/"81b45e45be5697991fdf737582edf850" | ||
Strict-Transport-Security: | ||
- max-age=31536000; includeSubDomains | ||
Transfer-Encoding: | ||
- chunked | ||
X-Request-Id: | ||
- 8c599b21-7ed4-4014-a7da-7b9b5a0fe3ca | ||
X-Runtime: | ||
- '1.070474' | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: '{"amount": -10.0, "currency": "MXN"}' | ||
headers: | ||
Accept: | ||
- application/vnd.regalii.v3.1+json | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Authorization: | ||
- APIAuth 88879c1b066dc9aea6201f27be2bbba9:LP7v2s6Ddeu/qX2XU0WL5jdK+jk= | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '36' | ||
Content-MD5: | ||
- mg1MPY2yXLf8n26ugdpxLw== | ||
Content-Type: | ||
- application/json | ||
Date: | ||
- Tue, 03 Sep 2019 05:05:00 GMT | ||
User-Agent: | ||
- python-requests/2.21.0 | ||
method: POST | ||
uri: https://api.casiregalii.com/bills/8390/pay | ||
response: | ||
body: | ||
string: '{"code":"R102","message":"Parameter amount cannot be less than 0.1: | ||
amount"}' | ||
headers: | ||
Cache-Control: | ||
- no-cache | ||
Connection: | ||
- keep-alive | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
Date: | ||
- Tue, 03 Sep 2019 05:05:01 GMT | ||
Strict-Transport-Security: | ||
- max-age=31536000; includeSubDomains | ||
Transfer-Encoding: | ||
- chunked | ||
X-Request-Id: | ||
- 014c674f-b234-422e-9e09-32976a81ed0f | ||
X-Runtime: | ||
- '0.094961' | ||
status: | ||
code: 400 | ||
message: Bad Request | ||
version: 1 |
Oops, something went wrong.