@t-0/provider-sdk 1.1.23 → 1.1.24
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.
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.d.ts +40 -1
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +15 -2
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +24 -21
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +1 -1
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +11 -15
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +1 -1
- package/lib/cjs/common/gen/tzero/v1/payment_intent/beneficiary_pb.d.ts +7 -9
- package/lib/cjs/common/gen/tzero/v1/payment_intent/beneficiary_pb.js +2 -3
- package/lib/cjs/common/gen/tzero/v1/payment_intent/network_pb.d.ts +16 -27
- package/lib/cjs/common/gen/tzero/v1/payment_intent/network_pb.js +3 -6
- package/lib/cjs/common/gen/tzero/v1/payment_intent/pay_in_provider_pb.d.ts +11 -20
- package/lib/cjs/common/gen/tzero/v1/payment_intent/pay_in_provider_pb.js +2 -4
- package/lib/cjs/version.d.ts +1 -1
- package/lib/cjs/version.js +1 -1
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.d.ts +40 -1
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +14 -1
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +24 -21
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +1 -1
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +11 -15
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +1 -1
- package/lib/esm/common/gen/tzero/v1/payment_intent/beneficiary_pb.d.ts +7 -9
- package/lib/esm/common/gen/tzero/v1/payment_intent/beneficiary_pb.js +2 -3
- package/lib/esm/common/gen/tzero/v1/payment_intent/network_pb.d.ts +16 -27
- package/lib/esm/common/gen/tzero/v1/payment_intent/network_pb.js +3 -6
- package/lib/esm/common/gen/tzero/v1/payment_intent/pay_in_provider_pb.d.ts +11 -20
- package/lib/esm/common/gen/tzero/v1/payment_intent/pay_in_provider_pb.js +2 -4
- package/lib/esm/version.d.ts +1 -1
- package/lib/esm/version.js +1 -1
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -49,8 +49,7 @@ export type AppendLedgerEntriesRequest_Transaction = Message<"tzero.v1.payment.A
|
|
|
49
49
|
entries: AppendLedgerEntriesRequest_LedgerEntry[];
|
|
50
50
|
/**
|
|
51
51
|
* *
|
|
52
|
-
*
|
|
53
|
-
* It can be one of the following: PayIn, PayoutReservation, Payout, ProviderSettlement, FeeSettlement, PayoutReservationRelease.
|
|
52
|
+
* Identifies which kind of transaction these ledger entries describe.
|
|
54
53
|
*
|
|
55
54
|
* @generated from oneof tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.transaction_details
|
|
56
55
|
*/
|
|
@@ -279,7 +278,7 @@ export declare const AppendLedgerEntriesResponseSchema: GenMessage<AppendLedgerE
|
|
|
279
278
|
export type PayoutRequest = Message<"tzero.v1.payment.PayoutRequest"> & {
|
|
280
279
|
/**
|
|
281
280
|
* *
|
|
282
|
-
*
|
|
281
|
+
* Payment id assigned by the network. Store it to reference this payment in FinalizePayout later.
|
|
283
282
|
*
|
|
284
283
|
* @generated from field: uint64 payment_id = 10;
|
|
285
284
|
*/
|
|
@@ -318,8 +317,7 @@ export type PayoutRequest = Message<"tzero.v1.payment.PayoutRequest"> & {
|
|
|
318
317
|
amount?: Decimal | undefined;
|
|
319
318
|
/**
|
|
320
319
|
* *
|
|
321
|
-
*
|
|
322
|
-
* This is used to specify how the payout should be made.
|
|
320
|
+
* Payment details specifying how the payout should be made (bank transfer, crypto transfer, etc.).
|
|
323
321
|
*
|
|
324
322
|
* @generated from field: optional tzero.v1.common.PaymentDetails payout_details = 60;
|
|
325
323
|
*/
|
|
@@ -363,7 +361,7 @@ export type PayoutRequest_TravelRuleData = Message<"tzero.v1.payment.PayoutReque
|
|
|
363
361
|
/**
|
|
364
362
|
* *
|
|
365
363
|
* IVMS101 travel rule data of the originating provider's legal entity.
|
|
366
|
-
*
|
|
364
|
+
* Taken from the originator entity in the corresponding CreatePaymentRequest.
|
|
367
365
|
*
|
|
368
366
|
* @generated from field: optional ivms101.Person originator_provider = 30;
|
|
369
367
|
*/
|
|
@@ -865,7 +863,7 @@ export type ApprovePaymentQuoteResponse_Rejected = Message<"tzero.v1.payment.App
|
|
|
865
863
|
export declare const ApprovePaymentQuoteResponse_RejectedSchema: GenMessage<ApprovePaymentQuoteResponse_Rejected>;
|
|
866
864
|
/**
|
|
867
865
|
* *
|
|
868
|
-
*
|
|
866
|
+
* Provider surface for executing payouts and receiving payment, limit, and ledger updates.
|
|
869
867
|
*
|
|
870
868
|
* All methods of this service must be idempotent, meaning they are safe to retry and multiple calls with the same parameters must not have additional effect.
|
|
871
869
|
*
|
|
@@ -874,7 +872,7 @@ export declare const ApprovePaymentQuoteResponse_RejectedSchema: GenMessage<Appr
|
|
|
874
872
|
export declare const ProviderService: GenService<{
|
|
875
873
|
/**
|
|
876
874
|
* *
|
|
877
|
-
*
|
|
875
|
+
* Execute a payout to the recipient.
|
|
878
876
|
* This method should be idempotent, meaning that multiple calls with the same parameters will have no additional effect.
|
|
879
877
|
*
|
|
880
878
|
* @generated from rpc tzero.v1.payment.ProviderService.PayOut
|
|
@@ -886,7 +884,7 @@ export declare const ProviderService: GenService<{
|
|
|
886
884
|
};
|
|
887
885
|
/**
|
|
888
886
|
* *
|
|
889
|
-
*
|
|
887
|
+
* Reports the current status of a payment — either a success or a failure.
|
|
890
888
|
* This method should be idempotent, meaning that multiple calls with the same parameters will have no additional effect.
|
|
891
889
|
*
|
|
892
890
|
* @generated from rpc tzero.v1.payment.ProviderService.UpdatePayment
|
|
@@ -898,7 +896,7 @@ export declare const ProviderService: GenService<{
|
|
|
898
896
|
};
|
|
899
897
|
/**
|
|
900
898
|
* *
|
|
901
|
-
*
|
|
899
|
+
* Delivers updated credit limit and credit usage.
|
|
902
900
|
*
|
|
903
901
|
* @generated from rpc tzero.v1.payment.ProviderService.UpdateLimit
|
|
904
902
|
*/
|
|
@@ -909,7 +907,7 @@ export declare const ProviderService: GenService<{
|
|
|
909
907
|
};
|
|
910
908
|
/**
|
|
911
909
|
* *
|
|
912
|
-
*
|
|
910
|
+
* Carries ledger-entry updates for the provider's accounts. It can be used to
|
|
913
911
|
* keep track of the provider's exposure to other participants and other important financial events. (see the list in the message below)
|
|
914
912
|
*
|
|
915
913
|
* @generated from rpc tzero.v1.payment.ProviderService.AppendLedgerEntries
|
|
@@ -921,10 +919,8 @@ export declare const ProviderService: GenService<{
|
|
|
921
919
|
};
|
|
922
920
|
/**
|
|
923
921
|
* *
|
|
924
|
-
*
|
|
925
|
-
*
|
|
926
|
-
* (if one was required). It allows pay-in provider to verify and approve final rates
|
|
927
|
-
* before payment is executed.
|
|
922
|
+
* Approves the final pay-out quotes — the "Last Look" before payment executes.
|
|
923
|
+
* Applies after a manual AML check completes, when one was required.
|
|
928
924
|
*
|
|
929
925
|
* @generated from rpc tzero.v1.payment.ProviderService.ApprovePaymentQuotes
|
|
930
926
|
*/
|
|
@@ -268,7 +268,7 @@ export const ApprovePaymentQuoteResponse_AcceptedSchema = /*@__PURE__*/ messageD
|
|
|
268
268
|
export const ApprovePaymentQuoteResponse_RejectedSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 9, 1);
|
|
269
269
|
/**
|
|
270
270
|
* *
|
|
271
|
-
*
|
|
271
|
+
* Provider surface for executing payouts and receiving payment, limit, and ledger updates.
|
|
272
272
|
*
|
|
273
273
|
* All methods of this service must be idempotent, meaning they are safe to retry and multiple calls with the same parameters must not have additional effect.
|
|
274
274
|
*
|
|
@@ -57,7 +57,7 @@ export declare const PaymentIntentUpdateRequestSchema: GenMessage<PaymentIntentU
|
|
|
57
57
|
export type PaymentIntentUpdateRequest_FundsReceived = Message<"tzero.v1.payment_intent.PaymentIntentUpdateRequest.FundsReceived"> & {
|
|
58
58
|
/**
|
|
59
59
|
* *
|
|
60
|
-
* The settlement amount credited to
|
|
60
|
+
* The settlement amount credited to the beneficiary balance.
|
|
61
61
|
* This is calculated as: (source_amount / rate) - fix
|
|
62
62
|
*
|
|
63
63
|
* Note: Fees are NOT deducted from this amount. Fees are tracked
|
|
@@ -91,7 +91,7 @@ export type PaymentIntentUpdateRequest_FundsReceived = Message<"tzero.v1.payment
|
|
|
91
91
|
/**
|
|
92
92
|
* *
|
|
93
93
|
* Pay-in's rail-native reference (SEPA EndToEndId, SWIFT UETR, PIX e2e_id), forwarded from ConfirmFundsReceived.
|
|
94
|
-
* Reconcile against
|
|
94
|
+
* Reconcile against the beneficiary's records; serves as the anchor for dispute resolution.
|
|
95
95
|
*
|
|
96
96
|
* @generated from field: string transaction_reference = 50;
|
|
97
97
|
*/
|
|
@@ -107,8 +107,8 @@ export type PaymentIntentUpdateRequest_FundsReceived = Message<"tzero.v1.payment
|
|
|
107
107
|
/**
|
|
108
108
|
* *
|
|
109
109
|
* Flat USD surcharge retained by the pay-in provider per transfer.
|
|
110
|
-
* Already subtracted from settlement_amount.
|
|
111
|
-
*
|
|
110
|
+
* Already subtracted from settlement_amount.
|
|
111
|
+
* Settlement is computed as (payment_amount / rate) - fix.
|
|
112
112
|
*
|
|
113
113
|
* @generated from field: tzero.v1.common.Decimal fix = 70;
|
|
114
114
|
*/
|
|
@@ -152,15 +152,14 @@ export type PaymentIntentUpdateResponse = Message<"tzero.v1.payment_intent.Payme
|
|
|
152
152
|
export declare const PaymentIntentUpdateResponseSchema: GenMessage<PaymentIntentUpdateResponse>;
|
|
153
153
|
/**
|
|
154
154
|
* *
|
|
155
|
-
*
|
|
156
|
-
* notifications about payment intent status changes.
|
|
155
|
+
* Beneficiary provider surface for payment intent status notifications.
|
|
157
156
|
*
|
|
158
157
|
* Beneficiary providers are those who:
|
|
159
158
|
* - Create payment intents via CreatePaymentIntent
|
|
160
159
|
* - Receive settlement (in settlement currency via configured blockchain network)
|
|
161
160
|
* - Need to be notified of payment status changes
|
|
162
161
|
*
|
|
163
|
-
*
|
|
162
|
+
* Notifications are delivered when:
|
|
164
163
|
* - Funds have been received from the payer by pay-in provider
|
|
165
164
|
*
|
|
166
165
|
* @generated from service tzero.v1.payment_intent.BeneficiaryService
|
|
@@ -170,8 +169,7 @@ export declare const BeneficiaryService: GenService<{
|
|
|
170
169
|
* *
|
|
171
170
|
* PaymentIntentUpdate notifies the beneficiary provider of status changes.
|
|
172
171
|
*
|
|
173
|
-
*
|
|
174
|
-
* delivery in case of failures or timeouts.
|
|
172
|
+
* Delivery is retried on failure or timeout; handling must be idempotent.
|
|
175
173
|
*
|
|
176
174
|
* @generated from rpc tzero.v1.payment_intent.BeneficiaryService.PaymentIntentUpdate
|
|
177
175
|
*/
|
|
@@ -32,15 +32,14 @@ export const PaymentIntentUpdateRequest_FundsReceived_TravelRuleDataSchema = /*@
|
|
|
32
32
|
export const PaymentIntentUpdateResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_beneficiary, 1);
|
|
33
33
|
/**
|
|
34
34
|
* *
|
|
35
|
-
*
|
|
36
|
-
* notifications about payment intent status changes.
|
|
35
|
+
* Beneficiary provider surface for payment intent status notifications.
|
|
37
36
|
*
|
|
38
37
|
* Beneficiary providers are those who:
|
|
39
38
|
* - Create payment intents via CreatePaymentIntent
|
|
40
39
|
* - Receive settlement (in settlement currency via configured blockchain network)
|
|
41
40
|
* - Need to be notified of payment status changes
|
|
42
41
|
*
|
|
43
|
-
*
|
|
42
|
+
* Notifications are delivered when:
|
|
44
43
|
* - Funds have been received from the payer by pay-in provider
|
|
45
44
|
*
|
|
46
45
|
* @generated from service tzero.v1.payment_intent.BeneficiaryService
|
|
@@ -82,7 +82,7 @@ export type UpdateQuoteRequest_Quote_Band = Message<"tzero.v1.payment_intent.Upd
|
|
|
82
82
|
*/
|
|
83
83
|
clientQuoteId: string;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Maximum amount of USD this band applies to.
|
|
86
86
|
*
|
|
87
87
|
* @generated from field: tzero.v1.common.Decimal max_amount = 40;
|
|
88
88
|
*/
|
|
@@ -233,7 +233,6 @@ export type GetQuoteResponse_Success_IndicativeQuote = Message<"tzero.v1.payment
|
|
|
233
233
|
/**
|
|
234
234
|
* *
|
|
235
235
|
* The T-0 provider ID of the pay-in provider offering this quote.
|
|
236
|
-
* Providers can use this to identify counterparties.
|
|
237
236
|
*
|
|
238
237
|
* @generated from field: uint32 provider_id = 20;
|
|
239
238
|
*/
|
|
@@ -293,7 +292,6 @@ export type PaymentIntentPayInDetails = Message<"tzero.v1.payment_intent.Payment
|
|
|
293
292
|
/**
|
|
294
293
|
* *
|
|
295
294
|
* The T-0 provider ID of the pay-in provider offering this quote.
|
|
296
|
-
* Providers can use this to identify counterparties.
|
|
297
295
|
*
|
|
298
296
|
* @generated from field: uint32 provider_id = 20;
|
|
299
297
|
*/
|
|
@@ -311,7 +309,7 @@ export type PaymentIntentPayInDetails = Message<"tzero.v1.payment_intent.Payment
|
|
|
311
309
|
* *
|
|
312
310
|
* Indicative exchange rate USD/XXX (base currency is always USD).
|
|
313
311
|
*
|
|
314
|
-
*
|
|
312
|
+
* Reflects the current quote on every call,
|
|
315
313
|
* including idempotent retries. The binding rate is locked in at
|
|
316
314
|
* ConfirmFundsReceived and may differ.
|
|
317
315
|
*
|
|
@@ -323,7 +321,7 @@ export type PaymentIntentPayInDetails = Message<"tzero.v1.payment_intent.Payment
|
|
|
323
321
|
* Indicative fixed charge in USD retained by the pay-in provider per transfer.
|
|
324
322
|
* Settlement is calculated as (amount / indicative_rate) - indicative_fix.
|
|
325
323
|
*
|
|
326
|
-
*
|
|
324
|
+
* Reflects the current quote on every call,
|
|
327
325
|
* including idempotent retries. The binding fix is locked in at
|
|
328
326
|
* ConfirmFundsReceived and may differ.
|
|
329
327
|
*
|
|
@@ -465,7 +463,7 @@ export type CreatePaymentIntentResponse_Success = Message<"tzero.v1.payment_inte
|
|
|
465
463
|
* *
|
|
466
464
|
* Unique identifier for this payment intent.
|
|
467
465
|
* Store this ID to correlate with:
|
|
468
|
-
* - PaymentIntentUpdate notifications
|
|
466
|
+
* - PaymentIntentUpdate notifications delivered later
|
|
469
467
|
*
|
|
470
468
|
* @generated from field: uint64 payment_intent_id = 10;
|
|
471
469
|
*/
|
|
@@ -473,13 +471,12 @@ export type CreatePaymentIntentResponse_Success = Message<"tzero.v1.payment_inte
|
|
|
473
471
|
/**
|
|
474
472
|
* *
|
|
475
473
|
* Available payment options for the end-user.
|
|
476
|
-
* Present these options to
|
|
474
|
+
* Present these options to the end-user so they can choose how to pay.
|
|
477
475
|
* Each entry contains the payment details needed to complete the payment.
|
|
478
476
|
*
|
|
479
477
|
* Indicative rate/fix are resolved live on every call, including idempotent
|
|
480
|
-
* retries. The set of options
|
|
481
|
-
*
|
|
482
|
-
* lapsed are omitted on retry.
|
|
478
|
+
* retries. The set of options is fixed at first call; individual options
|
|
479
|
+
* whose underlying quote has lapsed are omitted on retry.
|
|
483
480
|
*
|
|
484
481
|
* @generated from field: repeated tzero.v1.payment_intent.PaymentIntentPayInDetails pay_in_details = 20;
|
|
485
482
|
*/
|
|
@@ -557,12 +554,9 @@ export type ConfirmFundsReceivedRequest = Message<"tzero.v1.payment_intent.Confi
|
|
|
557
554
|
paymentIntentId: bigint;
|
|
558
555
|
/**
|
|
559
556
|
* *
|
|
560
|
-
* Confirmation code received in the
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
* field-level length validation here and surface as a REJECT_REASON_CONFIRMATION_CODE_MISMATCH
|
|
564
|
-
* at the orchestrator (preserving the "wrong code is a domain reject, not a transport error"
|
|
565
|
-
* contract).
|
|
557
|
+
* Confirmation code received in the GetPaymentDetails response along with the payment_intent_id.
|
|
558
|
+
* Guards against confirming the wrong payment intent; a mismatch is rejected with
|
|
559
|
+
* REJECT_REASON_CONFIRMATION_CODE_MISMATCH.
|
|
566
560
|
*
|
|
567
561
|
* @generated from field: string confirmation_code = 20;
|
|
568
562
|
*/
|
|
@@ -662,8 +656,8 @@ export type ConfirmFundsReceivedResponse_Accept = Message<"tzero.v1.payment_inte
|
|
|
662
656
|
/**
|
|
663
657
|
* *
|
|
664
658
|
* Flat USD charge retained by the pay-in provider per transfer,
|
|
665
|
-
* already subtracted from settlement_amount.
|
|
666
|
-
*
|
|
659
|
+
* already subtracted from settlement_amount.
|
|
660
|
+
* Settlement is computed as (payment_amount / rate) − fix.
|
|
667
661
|
*
|
|
668
662
|
* @generated from field: tzero.v1.common.Decimal fix = 30;
|
|
669
663
|
*/
|
|
@@ -721,10 +715,9 @@ export declare enum ConfirmFundsReceivedResponse_Reject_Reason {
|
|
|
721
715
|
REJECT_REASON_AMOUNT_TOO_SMALL = 40,
|
|
722
716
|
/**
|
|
723
717
|
* *
|
|
724
|
-
* The
|
|
725
|
-
*
|
|
726
|
-
*
|
|
727
|
-
* the requested method.
|
|
718
|
+
* The requested payment method was not offered on this intent — either the
|
|
719
|
+
* intent was rejected at creation, or no valid payment details were returned
|
|
720
|
+
* for the method. Retry with a method from the returned options.
|
|
728
721
|
*
|
|
729
722
|
* @generated from enum value: REJECT_REASON_NO_VALID_OFFER = 50;
|
|
730
723
|
*/
|
|
@@ -754,8 +747,6 @@ export declare const ConfirmFundsReceivedResponse_Reject_ReasonSchema: GenEnum<C
|
|
|
754
747
|
* 3. Pay-in provider confirms funds received
|
|
755
748
|
* 4. Settlement will happen periodically between providers
|
|
756
749
|
*
|
|
757
|
-
* This service is hosted by the T-0 Network and called by providers.
|
|
758
|
-
*
|
|
759
750
|
* @generated from service tzero.v1.payment_intent.PaymentIntentService
|
|
760
751
|
*/
|
|
761
752
|
export declare const PaymentIntentService: GenService<{
|
|
@@ -792,9 +783,7 @@ export declare const PaymentIntentService: GenService<{
|
|
|
792
783
|
* *
|
|
793
784
|
* CreatePaymentIntent initiates a new payment intent.
|
|
794
785
|
*
|
|
795
|
-
*
|
|
796
|
-
* The network finds suitable pay-in providers, retrieves their payment details,
|
|
797
|
-
* and returns available payment options to present to the end-user.
|
|
786
|
+
* Returns the available payment options to present to the end-user.
|
|
798
787
|
*
|
|
799
788
|
* The returned payment_intent_id must be stored by the beneficiary provider
|
|
800
789
|
* to correlate with the PaymentIntentUpdate notification received later.
|
|
@@ -168,10 +168,9 @@ export var ConfirmFundsReceivedResponse_Reject_Reason;
|
|
|
168
168
|
ConfirmFundsReceivedResponse_Reject_Reason[ConfirmFundsReceivedResponse_Reject_Reason["REJECT_REASON_AMOUNT_TOO_SMALL"] = 40] = "REJECT_REASON_AMOUNT_TOO_SMALL";
|
|
169
169
|
/**
|
|
170
170
|
* *
|
|
171
|
-
* The
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* the requested method.
|
|
171
|
+
* The requested payment method was not offered on this intent — either the
|
|
172
|
+
* intent was rejected at creation, or no valid payment details were returned
|
|
173
|
+
* for the method. Retry with a method from the returned options.
|
|
175
174
|
*
|
|
176
175
|
* @generated from enum value: REJECT_REASON_NO_VALID_OFFER = 50;
|
|
177
176
|
*/
|
|
@@ -201,8 +200,6 @@ export const ConfirmFundsReceivedResponse_Reject_ReasonSchema = /*@__PURE__*/ en
|
|
|
201
200
|
* 3. Pay-in provider confirms funds received
|
|
202
201
|
* 4. Settlement will happen periodically between providers
|
|
203
202
|
*
|
|
204
|
-
* This service is hosted by the T-0 Network and called by providers.
|
|
205
|
-
*
|
|
206
203
|
* @generated from service tzero.v1.payment_intent.PaymentIntentService
|
|
207
204
|
*/
|
|
208
205
|
export const PaymentIntentService = /*@__PURE__*/ serviceDesc(file_tzero_v1_payment_intent_network, 0);
|
|
@@ -31,9 +31,8 @@ export type GetPaymentDetailsRequest = Message<"tzero.v1.payment_intent.GetPayme
|
|
|
31
31
|
confirmationCode: string;
|
|
32
32
|
/**
|
|
33
33
|
* *
|
|
34
|
-
* Payment methods
|
|
35
|
-
*
|
|
36
|
-
* from the quotes submitted by pay-in provider.
|
|
34
|
+
* Payment methods to return PaymentDetails for.
|
|
35
|
+
* Each is drawn from a previously submitted quote.
|
|
37
36
|
*
|
|
38
37
|
* @generated from field: repeated tzero.v1.common.PaymentMethodType payment_methods = 30;
|
|
39
38
|
*/
|
|
@@ -63,8 +62,7 @@ export type GetPaymentDetailsRequest = Message<"tzero.v1.payment_intent.GetPayme
|
|
|
63
62
|
/**
|
|
64
63
|
* *
|
|
65
64
|
* The T-0 provider ID of the beneficiary provider (the FI the funds are
|
|
66
|
-
* destined for). Stable, opaque identifier
|
|
67
|
-
* directly to resolve the beneficiary in their own systems.
|
|
65
|
+
* destined for). Stable, opaque identifier for the beneficiary.
|
|
68
66
|
*
|
|
69
67
|
* @generated from field: uint32 beneficiary_provider_id = 70;
|
|
70
68
|
*/
|
|
@@ -144,11 +142,9 @@ export declare const GetPaymentDetailsResponseSchema: GenMessage<GetPaymentDetai
|
|
|
144
142
|
export type GetPaymentDetailsResponse_Details = Message<"tzero.v1.payment_intent.GetPaymentDetailsResponse.Details"> & {
|
|
145
143
|
/**
|
|
146
144
|
* *
|
|
147
|
-
* Payment details for each supported payment method.
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* to send a payment (e.g., bank account details, mobile money number) and payment reference,
|
|
151
|
-
* which can be used by pay-in provider to identify incoming payment.
|
|
145
|
+
* Payment details for each supported payment method. Each entry carries the
|
|
146
|
+
* information an end-user needs to send a payment (bank account, mobile money,
|
|
147
|
+
* etc.) plus a payment reference that identifies the incoming payment.
|
|
152
148
|
*
|
|
153
149
|
* @generated from field: repeated tzero.v1.common.PaymentDetails payment_details = 10;
|
|
154
150
|
*/
|
|
@@ -175,8 +171,7 @@ export type GetPaymentDetailsResponse_Rejection = Message<"tzero.v1.payment_inte
|
|
|
175
171
|
export declare const GetPaymentDetailsResponse_RejectionSchema: GenMessage<GetPaymentDetailsResponse_Rejection>;
|
|
176
172
|
/**
|
|
177
173
|
* *
|
|
178
|
-
*
|
|
179
|
-
* in the Payment Intent flow.
|
|
174
|
+
* Pay-in provider surface for the Payment Intent flow.
|
|
180
175
|
*
|
|
181
176
|
* Pay-in providers are those who:
|
|
182
177
|
* - Receive fiat payments from end-users
|
|
@@ -184,20 +179,16 @@ export declare const GetPaymentDetailsResponse_RejectionSchema: GenMessage<GetPa
|
|
|
184
179
|
* - Confirm when payments are received via ConfirmFundsReceived
|
|
185
180
|
* - Settles periodically with the beneficiary provider
|
|
186
181
|
*
|
|
187
|
-
*
|
|
188
|
-
* presented to end-users for making payments.
|
|
182
|
+
* Provides the payment details presented to end-users for making payments.
|
|
189
183
|
*
|
|
190
184
|
* @generated from service tzero.v1.payment_intent.PayInProviderService
|
|
191
185
|
*/
|
|
192
186
|
export declare const PayInProviderService: GenService<{
|
|
193
187
|
/**
|
|
194
188
|
* *
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
* The provider should return payment details (bank accounts, mobile money info, etc.)
|
|
199
|
-
* that the end-user can use to send funds. The payment details should contain payment reference,
|
|
200
|
-
* so that on receiving payment from a payer, the pay-in provider can identify which payment intent this payment belongs to
|
|
189
|
+
* Returns the payment details (bank account, mobile money, etc.) an end-user uses
|
|
190
|
+
* to send funds. The details must carry a payment reference that ties an incoming
|
|
191
|
+
* payment back to its payment intent.
|
|
201
192
|
*
|
|
202
193
|
* @generated from rpc tzero.v1.payment_intent.PayInProviderService.GetPaymentDetails
|
|
203
194
|
*/
|
|
@@ -37,8 +37,7 @@ export const GetPaymentDetailsResponse_DetailsSchema = /*@__PURE__*/ messageDesc
|
|
|
37
37
|
export const GetPaymentDetailsResponse_RejectionSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_pay_in_provider, 1, 1);
|
|
38
38
|
/**
|
|
39
39
|
* *
|
|
40
|
-
*
|
|
41
|
-
* in the Payment Intent flow.
|
|
40
|
+
* Pay-in provider surface for the Payment Intent flow.
|
|
42
41
|
*
|
|
43
42
|
* Pay-in providers are those who:
|
|
44
43
|
* - Receive fiat payments from end-users
|
|
@@ -46,8 +45,7 @@ export const GetPaymentDetailsResponse_RejectionSchema = /*@__PURE__*/ messageDe
|
|
|
46
45
|
* - Confirm when payments are received via ConfirmFundsReceived
|
|
47
46
|
* - Settles periodically with the beneficiary provider
|
|
48
47
|
*
|
|
49
|
-
*
|
|
50
|
-
* presented to end-users for making payments.
|
|
48
|
+
* Provides the payment details presented to end-users for making payments.
|
|
51
49
|
*
|
|
52
50
|
* @generated from service tzero.v1.payment_intent.PayInProviderService
|
|
53
51
|
*/
|
package/lib/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1.24";
|
package/lib/esm/version.js
CHANGED