justifi 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/justifi/payment.rb +7 -1
- data/lib/justifi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bfa7c3bc72ed4e1072dd00fc23322177e6a3ba32cd98aab4b6d8401ebe634d1a
|
|
4
|
+
data.tar.gz: 56b619b105bb1999df1fb49d1f6cb705702708aaf3a47c57e6e667d3f1a90ef0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae6b4eefc1041d4068078ecaed3e2ec969ebe5aa75fbbf0f347ddd01e59577aafb074bc924ee05c7fd06eba452ecf92c47f9b84b4af749ff9d12a69cc7aca370
|
|
7
|
+
data.tar.gz: a2fd12773717fbbdfab369ef787ad1d18fe01efc5811fad81b1f1ad477644d7df1df8fa960a7bb7633c5c2ff701a8c8cb665916956eeb9ecbdc557ab17d38ca7
|
data/lib/justifi/payment.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Justifi
|
|
|
25
25
|
Justifi.seller_account_deprecation_warning if seller_account_id
|
|
26
26
|
headers[:sub_account] = sub_account_id || seller_account_id if sub_account_id || seller_account_id
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
Justifi::ListObject.list("/v1/payments", params, headers)
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
def get(payment_id:, headers: {})
|
|
@@ -48,6 +48,12 @@ module Justifi
|
|
|
48
48
|
params: params,
|
|
49
49
|
headers: {})
|
|
50
50
|
end
|
|
51
|
+
|
|
52
|
+
def balance_transactions(payment_id:, params: {}, headers: {})
|
|
53
|
+
Justifi::ListObject.list("/v1/payments/#{payment_id}/payment_balance_transactions",
|
|
54
|
+
params,
|
|
55
|
+
headers)
|
|
56
|
+
end
|
|
51
57
|
end
|
|
52
58
|
end
|
|
53
59
|
end
|
data/lib/justifi/version.rb
CHANGED