Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation error in logs for Brave transaction fee (5%) #11818

Closed
btlechowski opened this issue Sep 23, 2020 · 3 comments · Fixed by brave/brave-core#6757
Closed

Validation error in logs for Brave transaction fee (5%) #11818

btlechowski opened this issue Sep 23, 2020 · 3 comments · Fixed by brave/brave-core#6757

Comments

@btlechowski
Copy link

After tipping there is an error when processing Brave transaction fee (5%)

Important: This is regression in 1.15.x. Not reproducible on 1.14.x

Steps to Reproduce

  1. Clean profile on staging
  2. Enable rewards
  3. Connect KYCed account
  4. Open 3zsistemi.si
  5. Tip 1BAT to 3zsistemi.si
  6. Check logs for Brave transaction fee

Actual result:

Error is shown

[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":0.050000000000000044,"currency":"BAT"},"destination":"1b2b466f-5c15-49bf-995e-c91777d3da93","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[8742:8742:0923/095451.265322:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions
> Result: Failure
> HTTP Code: 400
> Body: {"code":"validation_failed","errors":{"denomination":{"code":"validation_failed","errors":{"amount":[{"code":"greater_than_or_equal_to","message":"This value should be greater than or equal to 0","args":{"threshold":"0"}}]}}}}

Expected result:

Error is not shown

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Brave 1.15.56 Chromium: 85.0.4183.102 (Official Build) dev (64-bit)
Revision ffe848af6a5df4fa127e2929331116b7f9f1cb30-refs/branch-heads/4183@{#1770}
OS Ubuntu 18.04 LTS

cc @brave/legacy_qa @rebron @NejcZdovc @jsecretan

@btlechowski
Copy link
Author

Not reproducible in 1.14.x

Brave 1.14.81 Chromium: 85.0.4183.102 (Official Build) (64-bit)
Revision ffe848af6a5df4fa127e2929331116b7f9f1cb30-refs/branch-heads/4183@{#1770}
OS Linux
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions
> Method: UrlMethod::POST
> Content: {
        "denomination": { "amount": 0.050000, "currency": "BAT" },
        "destination": "1b2b466f-5c15-49bf-995e-c91777d3da93",
        "message": "5% transaction fee collected by Brave Software International"
      }
> Content Type: application/json
[9487:9487:0923/110045.045332:VERBOSE6:uphold_transfer.cc(71)] 
[ RESPONSE - OnCreateTransaction ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions
> Result: Success
> HTTP Code: 202

@bbondy
Copy link
Member

bbondy commented Oct 5, 2020

Important: This is regression in 1.15.x. Not reproducible on 1.14.x

Do we need to uplift this to 1.15.x?

@LaurenWags
Copy link
Member

LaurenWags commented Oct 6, 2020

Verified passed with

Brave | 1.15.71 Chromium: 86.0.4240.72 (Official Build) (x86_64)
-- | --
Revision | 581582174c512f44f44fd1aea340471f54b2365f-refs/branch-heads/4240@{#1134}
OS | macOS Version 10.14.6 (Build 18G3020)

Verified STR from description.

One Time Tip check

Confirmed 1 BAT tip from KYC'd Uphold wallet to KYC'd creator shows as expected in the logs:

.95 BAT portion:

[2663:775:1006/081558.142537:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::ONE_TIME_TIP
[2663:775:1006/081558.147466:VERBOSE1:contribution.cc(92)] Queue timer set for 11 s
[2663:775:1006/081558.148011:VERBOSE1:database_server_publisher_banner.cc(142)] Server publisher banner not found
[2663:775:1006/081558.148836:VERBOSE5:ledger_impl.cc(128)] 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/............/transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.950000","currency":"BAT"},"destination":"..........","message":""}
> Content Type: application/json; charset=utf-8
[2663:775:1006/081558.341699:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/............./transactions
> Result: Success
> HTTP Code: 202
> Body:

.05 BAT portion:

[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.050000","currency":"BAT"},"destination":"..........","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[2663:775:1006/081559.860732:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Result: Success
> HTTP Code: 202
> Body:

Confirmed both parts display in Uphold transactions list as expected:
Screen Shot 2020-10-06 at 8 17 02 AM

Also tipped a different KYC'd publisher 5 BAT:

4.75 BAT portion:

[2663:775:1006/082147.691438:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::ONE_TIME_TIP
[2663:775:1006/082147.696697:VERBOSE1:contribution.cc(92)] Queue timer set for 16 s
[2663:775:1006/082147.699003:VERBOSE5:ledger_impl.cc(128)] 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"4.750000","currency":"BAT"},"destination":".............","message":""}
> Content Type: application/json; charset=utf-8
[2663:775:1006/082147.848459:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/............./transactions
> Result: Success
> HTTP Code: 202
> Body:

.25 BAT portion:

[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/......./transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.250000","currency":"BAT"},"destination":"..............","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[2663:775:1006/082344.625968:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Result: Success
> HTTP Code: 202
> Body: 
Screen Shot 2020-10-06 at 8 24 28 AM Screen Shot 2020-10-06 at 8 27 35 AM
Recurring Tip check

Also confirmed this works for recurring tips as well. Set up 2 recurring tips (5 BAT to laurenwags.github.io and 1 BAT to yachtcaptain23.github.io). Confirmed they were both contributed at the time expected and that both 5% fees were processed as expected:

[2663:775:1006/082941.047479:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::RECURRING_TIP
[2663:775:1006/082941.052610:VERBOSE1:contribution.cc(92)] Queue timer set for 30 s
[2663:775:1006/082941.054741:VERBOSE5:ledger_impl.cc(128)] 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/............./transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"4.750000","currency":"BAT"},"destination":"...........","message":""}
> Content Type: application/json; charset=utf-8
[2663:775:1006/082941.246987:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/............../transactions
> Result: Success
> HTTP Code: 202
> Body:
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/.............../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.250000","currency":"BAT"},"destination":"............","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[2663:775:1006/082944.984353:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/............/transactions
> Result: Success
> HTTP Code: 202
> Body:
[2663:775:1006/083011.135156:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::RECURRING_TIP
[2663:775:1006/083011.145270:VERBOSE1:contribution.cc(92)] Queue timer set for 16 s
[2663:775:1006/083011.147671:VERBOSE5:ledger_impl.cc(128)] 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.950000","currency":"BAT"},"destination":"............","message":""}
> Content Type: application/json; charset=utf-8
[2663:775:1006/083011.571772:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/............/transactions
> Result: Success
> HTTP Code: 202
> Body: 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.050000","currency":"BAT"},"destination":"...........","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[2663:775:1006/083043.014732:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Result: Success
> HTTP Code: 202
> Body: 
Screen Shot 2020-10-06 at 8 32 44 AM Screen Shot 2020-10-06 at 8 33 06 AM

Verified passed with

Brave	1.15.71 Chromium: 86.0.4240.72 (Official Build) (64-bit)
Revision	581582174c512f44f44fd1aea340471f54b2365f-refs/branch-heads/4240@{#1134}
OS	Linux

Verified STR from description.

One Time Tip check

Confirmed 1 BAT tip from KYC'd Uphold wallet to KYC'd creator shows as expected in the logs:

.95 BAT portion:

[2731:2731:1006/060115.576550:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::ONE_TIME_TIP
[2731:2731:1006/060115.582414:VERBOSE1:contribution.cc(92)] Queue timer set for 0 s
[2731:2731:1006/060115.583014:VERBOSE1:database_server_publisher_banner.cc(142)] Server publisher banner not found
[2731:2731:1006/060115.583993:VERBOSE5:ledger_impl.cc(128)] 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/................/transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.950000","currency":"BAT"},"destination":"...........","message":""}
> Content Type: application/json; charset=utf-8
[2731:2731:1006/060115.758283:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Result: Success
> HTTP Code: 202
> Body:

.05 BAT portion:

[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/............/transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.050000","currency":"BAT"},"destination":".........3","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[2731:2731:1006/060116.299523:VERBOSE5:ledger_impl.cc(128)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/........../transactions
> Result: Success
> HTTP Code: 202
> Body:

Confirmed both parts display in Uphold transactions list as expected:

Linux SS 1

Also tipped a different KYC'd publisher 10 BAT:

9.5 BAT portion:

[3259:3259:1006/060809.005937:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::ONE_TIME_TIP
[3259:3259:1006/060809.012267:VERBOSE1:contribution.cc(92)] Queue timer set for 9 s
[3259:3259:1006/060809.014740:VERBOSE5:ledger_impl.cc(128)] 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/........../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"9.500000","currency":"BAT"},"destination":"............","message":""}
> Content Type: application/json; charset=utf-8
[3259:3259:1006/060809.263839:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/........./transactions
> Result: Success
> HTTP Code: 202
> Body: 

.5 BAT portion:

[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/........../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.500000","currency":"BAT"},"destination":"..........","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[3259:3259:1006/060814.860059:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Result: Success
> HTTP Code: 202
> Body: 
Linux SS 2 Linux SS 3
Recurring Tip check

Also confirmed this works for recurring tips as well. Set up 2 recurring tips (5 BAT to github.com/laurenwags and 1 BAT to yachtcaptain23.github.io). Confirmed they were both contributed at the time expected and that both 5% fees were processed as expected:

[3915:3915:1006/061846.538232:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::RECURRING_TIP
[3915:3915:1006/061846.543583:VERBOSE1:contribution.cc(92)] Queue timer set for 1 s
[3915:3915:1006/061846.544794:VERBOSE5:ledger_impl.cc(128)] 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/............/transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"4.750000","currency":"BAT"},"destination":"...........","message":""}
> Content Type: application/json; charset=utf-8
[3915:3915:1006/061846.744710:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/........./transactions
> Result: Success
> HTTP Code: 202
> Body: 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/............./transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.250000","currency":"BAT"},"destination":"..............","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[3915:3915:1006/062016.513768:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/............./transactions
> Result: Success
> HTTP Code: 202
> Body: 
[3915:3915:1006/061847.615905:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::RECURRING_TIP
[3915:3915:1006/061847.623171:VERBOSE1:contribution.cc(92)] Queue timer set for 23 s
[3915:3915:1006/061847.626229:VERBOSE5:ledger_impl.cc(128)] 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/........./transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.950000","currency":"BAT"},"destination":"..............","message":""}
> Content Type: application/json; charset=utf-8
[3915:3915:1006/061847.796775:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Result: Success
> HTTP Code: 202
> Body: 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/............/transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.050000","currency":"BAT"},"destination":"..........","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[3915:3915:1006/061927.479577:VERBOSE6:logging_util.cc(136)] 
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/.........../transactions
> Result: Success
> HTTP Code: 202
> Body: 
Linux SS 4 Linux SS 5

Verification passed on


Brave | 1.15.71 Chromium: 86.0.4240.72 (Official Build) (64-bit)
-- | --
Revision | 581582174c512f44f44fd1aea340471f54b2365f-refs/branch-heads/4240@{#1134}
OS | Windows 10 OS Version 1903 (Build 18362.1016)


Verified STR from description.

One Time Tip check

Confirmed 1 BAT tip from KYC'd Uphold wallet to KYC'd creator shows as expected in the logs:

.95 BAT portion:

[12640:12452:1006/185452.967:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::ONE_TIME_TIP
[12640:12452:1006/185452.989:VERBOSE1:contribution.cc(92)] Queue timer set for 8 s
[12640:12452:1006/185452.990:VERBOSE1:database_server_publisher_banner.cc(142)] Server publisher banner not found
[12640:12452:1006/185452.992:VERBOSE5:ledger_impl.cc(128)]
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/................................./transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.950000","currency":"BAT"},"destination":".........................","message":""}
> Content Type: application/json; charset=utf-8
[12640:12452:1006/185453.499:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/................./transactions
> Result: Success
> HTTP Code: 202
> Body: 

.05 BAT portion:

[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/........................./transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.050000","currency":"BAT"},"destination":"........................","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[12640:12452:1006/185515.873:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/......................................./transactions
> Result: Success
> HTTP Code: 202
> Body: 

image

Also tipped a different KYC'd publisher 5 BAT:

4.75 BAT portion:

[12640:12452:1006/190623.477:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::ONE_TIME_TIP
[12640:12452:1006/190623.493:VERBOSE1:contribution.cc(92)] Queue timer set for 21 s
[12640:12452:1006/190623.497:VERBOSE5:ledger_impl.cc(128)]
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/...................../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"4.750000","currency":"BAT"},"destination":"..........................","message":""}
> Content Type: application/json; charset=utf-8
[12640:12452:1006/190623.981:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/.........................../transactions
> Result: Success
> HTTP Code: 202
> Body: 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/...................../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.250000","currency":"BAT"},"destination":"..........................","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[12640:12452:1006/190709.586:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/........................
> Result: Success
> HTTP Code: 200
> Body: 

image

Also tipped a different KYC'd publisher 10 BAT:

9.5 BAT portion:

[12640:12452:1006/191309.833:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::ONE_TIME_TIP
[12640:12452:1006/191309.848:VERBOSE1:contribution.cc(92)] Queue timer set for 41 s
[12640:12452:1006/191309.851:VERBOSE5:ledger_impl.cc(128)]
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/.............................../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"9.500000","currency":"BAT"},"destination":"........................","message":""}
> Content Type: application/json; charset=utf-8
[12640:12452:1006/191310.211:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/........................
> Result: Success
> HTTP Code: 200
> Body:

0.50 BAT portion:

[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/....................../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.500000","currency":"BAT"},"destination":"............................","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[12640:12452:1006/191409.462:VERBOSE5:ledger_impl.cc(128)]
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/.......................
> Method: UrlMethod::GET
[12640:12452:1006/191409.478:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/4f157868-e243-4eab-bbea-e10318a3b971
> Result: Success
> HTTP Code: 200
> Body: {"CreatedB

image

Recurring Tip check

Also confirmed this works for recurring tips as well. Set up 2 recurring tips (5 BAT to laurenwags.github.io and 1 BAT to 3zsistemi.si). Confirmed they were both contributed at the time expected and that both 5% fees were processed as expected:

[8968:5324:1006/192447.929:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::RECURRING_TIP
[8968:5324:1006/192447.950:VERBOSE1:contribution.cc(92)] Queue timer set for 5 s
[8968:5324:1006/192447.951:VERBOSE1:database_server_publisher_banner.cc(142)] Server publisher banner not found
[8968:5324:1006/192447.952:VERBOSE5:ledger_impl.cc(128)]
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/...................../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.950000","currency":"BAT"},"destination":".....................","message":""}
> Content Type: application/json; charset=utf-8
[8968:5324:1006/192448.448:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/........................../transactions
> Result: Success
> HTTP Code: 202
> Body: 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/..................../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.050000","currency":"BAT"},"destination":"....................","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[8968:5324:1006/192526.611:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/............................/transactions
> Result: Success
> HTTP Code: 202
> Body: 
[8968:5324:1006/192453.325:VERBOSE1:contribution.cc(358)] Creating contribution(uphold) for 0 type RewardsType::RECURRING_TIP
[8968:5324:1006/192453.350:VERBOSE1:contribution.cc(92)] Queue timer set for 24 s
[8968:5324:1006/192453.358:VERBOSE5:ledger_impl.cc(128)]
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/....................../transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"4.750000","currency":"BAT"},"destination":".......................","message":""}
> Content Type: application/json; charset=utf-8
[8968:5324:1006/192453.813:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/........................../transactions
> Result: Success
> HTTP Code: 202
> Body: 
[ REQUEST ]
> URL: https://api-sandbox.uphold.com/v0/me/cards/................./transactions
> Method: UrlMethod::POST
> Content: {"denomination":{"amount":"0.250000","currency":"BAT"},"destination":".........................","message":"5% transaction fee collected by Brave Software International"}
> Content Type: application/json; charset=utf-8
[8968:5324:1006/192500.883:VERBOSE6:logging_util.cc(136)]
[ RESPONSE - OnRequest ]
> Url: https://api-sandbox.uphold.com/v0/me/cards/............................../transactions
> Result: Success
> HTTP Code: 202
> Body: 

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment