@t-0/provider-sdk 1.1.22 → 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/common/payment_receipt_pb.d.ts +8 -1
- package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.js +1 -1
- 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 +64 -15
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +8 -3
- package/lib/cjs/common/gen/tzero/v1/payment_intent/beneficiary_pb.d.ts +7 -10
- 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 -28
- 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/common/payment_receipt_pb.d.ts +8 -1
- package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.js +1 -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 +64 -15
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +7 -2
- package/lib/esm/common/gen/tzero/v1/payment_intent/beneficiary_pb.d.ts +7 -10
- 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 -28
- 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
|
@@ -88,7 +88,7 @@ export type UpdateQuoteRequest_Quote_Band = Message<"tzero.v1.payment.UpdateQuot
|
|
|
88
88
|
*/
|
|
89
89
|
clientQuoteId: string;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Maximum amount of USD this band applies to.
|
|
92
92
|
*
|
|
93
93
|
* @generated from field: tzero.v1.common.Decimal max_amount = 40;
|
|
94
94
|
*/
|
|
@@ -168,8 +168,8 @@ export type GetQuoteResponse = Message<"tzero.v1.payment.GetQuoteResponse"> & {
|
|
|
168
168
|
result: {
|
|
169
169
|
/**
|
|
170
170
|
* *
|
|
171
|
-
*
|
|
172
|
-
*
|
|
171
|
+
* A suitable quote was found for the provided parameters, with available credit or pre-settlement option.
|
|
172
|
+
* Use the returned quoteId to call CreatePayment.
|
|
173
173
|
*
|
|
174
174
|
* @generated from field: tzero.v1.payment.GetQuoteResponse.Success success = 20;
|
|
175
175
|
*/
|
|
@@ -193,7 +193,7 @@ export type GetQuoteResponse = Message<"tzero.v1.payment.GetQuoteResponse"> & {
|
|
|
193
193
|
* *
|
|
194
194
|
* All best quotes from providers with credit lines.
|
|
195
195
|
* Each quote is the best rate for that provider for the requested amount.
|
|
196
|
-
*
|
|
196
|
+
* Each quote indicates whether it can be executed immediately.
|
|
197
197
|
* Always returned alongside success/failure - providers can compare alternatives or see options when no executable quote exists.
|
|
198
198
|
*
|
|
199
199
|
* @generated from field: repeated tzero.v1.payment.GetQuoteResponse.ProviderQuote all_quotes = 40;
|
|
@@ -379,7 +379,7 @@ export type GetQuoteResponse_ProviderQuote_Settlement = Message<"tzero.v1.paymen
|
|
|
379
379
|
*/
|
|
380
380
|
totalUsed?: Decimal | undefined;
|
|
381
381
|
/**
|
|
382
|
-
* Additional funding needed before
|
|
382
|
+
* Additional funding needed before this quote can be executed
|
|
383
383
|
*
|
|
384
384
|
* @generated from field: tzero.v1.common.Decimal prefunding_amount = 50;
|
|
385
385
|
*/
|
|
@@ -419,7 +419,7 @@ export type CreatePaymentRequest = Message<"tzero.v1.payment.CreatePaymentReques
|
|
|
419
419
|
*/
|
|
420
420
|
paymentDetails?: PaymentDetails | undefined;
|
|
421
421
|
/**
|
|
422
|
-
* if specified, must be a valid quoteId that was previously returned by
|
|
422
|
+
* if specified, must be a valid quoteId that was previously returned by GetQuote otherwise last available quote will be used
|
|
423
423
|
*
|
|
424
424
|
* @generated from field: optional tzero.v1.payment.QuoteId quote_id = 60;
|
|
425
425
|
*/
|
|
@@ -508,8 +508,8 @@ export type CreatePaymentResponse = Message<"tzero.v1.payment.CreatePaymentRespo
|
|
|
508
508
|
result: {
|
|
509
509
|
/**
|
|
510
510
|
* *
|
|
511
|
-
*
|
|
512
|
-
*
|
|
511
|
+
* The payment was accepted and will be passed to the payout provider.
|
|
512
|
+
* A suitable quote was found for the pay-out currency and amount.
|
|
513
513
|
*
|
|
514
514
|
* @generated from field: tzero.v1.payment.CreatePaymentResponse.Accepted accepted = 20;
|
|
515
515
|
*/
|
|
@@ -529,8 +529,8 @@ export type CreatePaymentResponse = Message<"tzero.v1.payment.CreatePaymentRespo
|
|
|
529
529
|
} | {
|
|
530
530
|
/**
|
|
531
531
|
* *
|
|
532
|
-
*
|
|
533
|
-
*
|
|
532
|
+
* The payment was not accepted — e.g. no suitable quote exists for the pay-out
|
|
533
|
+
* currency and amount, or the credit limit is exceeded for the available quotes.
|
|
534
534
|
*
|
|
535
535
|
* @generated from field: tzero.v1.payment.CreatePaymentResponse.Failure failure = 30;
|
|
536
536
|
*/
|
|
@@ -979,7 +979,7 @@ export declare enum QuoteType {
|
|
|
979
979
|
export declare const QuoteTypeSchema: GenEnum<QuoteType>;
|
|
980
980
|
/**
|
|
981
981
|
* *
|
|
982
|
-
*
|
|
982
|
+
* Network surface for publishing quotes and initiating pay-out payments.
|
|
983
983
|
*
|
|
984
984
|
* All methods of this service are idempotent, meaning they are safe to retry and multiple calls with the same parameters will have no additional effect.
|
|
985
985
|
*
|
|
@@ -988,8 +988,8 @@ export declare const QuoteTypeSchema: GenEnum<QuoteType>;
|
|
|
988
988
|
export declare const NetworkService: GenService<{
|
|
989
989
|
/**
|
|
990
990
|
* *
|
|
991
|
-
*
|
|
992
|
-
*
|
|
991
|
+
* Publishes pay-in and pay-out quotes (FX rates) into the network.
|
|
992
|
+
* Quotes carry tiered pricing bands and an expiration timestamp.
|
|
993
993
|
*
|
|
994
994
|
* @generated from rpc tzero.v1.payment.NetworkService.UpdateQuote
|
|
995
995
|
*/
|
|
@@ -1014,9 +1014,8 @@ export declare const NetworkService: GenService<{
|
|
|
1014
1014
|
* *
|
|
1015
1015
|
* Submit a request to create a new payment for the specified pay-out currency.
|
|
1016
1016
|
* QuoteId is the optional parameter.
|
|
1017
|
-
* If the
|
|
1018
|
-
* If the quoteId is not specified,
|
|
1019
|
-
* same way as GetPayoutQuote rpc.
|
|
1017
|
+
* If the quoteId is specified, it must be a valid quoteId previously returned by GetQuote.
|
|
1018
|
+
* If the quoteId is not specified, a suitable quote is selected for the pay-out currency and amount, as GetQuote does.
|
|
1020
1019
|
*
|
|
1021
1020
|
* @generated from rpc tzero.v1.payment.NetworkService.CreatePayment
|
|
1022
1021
|
*/
|
|
@@ -1027,8 +1026,8 @@ export declare const NetworkService: GenService<{
|
|
|
1027
1026
|
};
|
|
1028
1027
|
/**
|
|
1029
1028
|
* *
|
|
1030
|
-
*
|
|
1031
|
-
*
|
|
1029
|
+
* Informs the network that a payout has been completed, specifying the payment ID and payout ID
|
|
1030
|
+
* from the original payout request.
|
|
1032
1031
|
* deprecated, use the FinalizePayout rpc instead.
|
|
1033
1032
|
*
|
|
1034
1033
|
* @generated from rpc tzero.v1.payment.NetworkService.ConfirmPayout
|
|
@@ -1040,6 +1039,11 @@ export declare const NetworkService: GenService<{
|
|
|
1040
1039
|
output: typeof ConfirmPayoutResponseSchema;
|
|
1041
1040
|
};
|
|
1042
1041
|
/**
|
|
1042
|
+
* *
|
|
1043
|
+
* Report the final outcome of a payout to the network, identified by the payment id from the
|
|
1044
|
+
* original PayoutRequest, as either success (with an optional receipt) or failure with a reason.
|
|
1045
|
+
* Supersedes the deprecated ConfirmPayout, which could only signal completion.
|
|
1046
|
+
*
|
|
1043
1047
|
* @generated from rpc tzero.v1.payment.NetworkService.FinalizePayout
|
|
1044
1048
|
*/
|
|
1045
1049
|
finalizePayout: {
|
|
@@ -1049,9 +1053,8 @@ export declare const NetworkService: GenService<{
|
|
|
1049
1053
|
};
|
|
1050
1054
|
/**
|
|
1051
1055
|
* *
|
|
1052
|
-
*
|
|
1053
|
-
*
|
|
1054
|
-
* payment and will return the updated settlement/payout amount along with the updated quotes in the response.
|
|
1056
|
+
* Reports the result of a manual AML check on a payment.
|
|
1057
|
+
* On approval, the response carries the updated settlement/payout amount and quotes.
|
|
1055
1058
|
*
|
|
1056
1059
|
* @generated from rpc tzero.v1.payment.NetworkService.CompleteManualAmlCheck
|
|
1057
1060
|
*/
|
|
@@ -270,7 +270,7 @@ export var QuoteType;
|
|
|
270
270
|
export const QuoteTypeSchema = /*@__PURE__*/ enumDesc(file_tzero_v1_payment_network, 0);
|
|
271
271
|
/**
|
|
272
272
|
* *
|
|
273
|
-
*
|
|
273
|
+
* Network surface for publishing quotes and initiating pay-out payments.
|
|
274
274
|
*
|
|
275
275
|
* All methods of this service are idempotent, meaning they are safe to retry and multiple calls with the same parameters will have no additional effect.
|
|
276
276
|
*
|
|
@@ -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
|
*/
|
|
@@ -72,6 +71,12 @@ export type AppendLedgerEntriesRequest_Transaction = Message<"tzero.v1.payment.A
|
|
|
72
71
|
*/
|
|
73
72
|
value: AppendLedgerEntriesRequest_Transaction_FeeSettlement;
|
|
74
73
|
case: "feeSettlement";
|
|
74
|
+
} | {
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PiFundsReceived pi_funds_received = 160;
|
|
77
|
+
*/
|
|
78
|
+
value: AppendLedgerEntriesRequest_Transaction_PiFundsReceived;
|
|
79
|
+
case: "piFundsReceived";
|
|
75
80
|
} | {
|
|
76
81
|
case: undefined;
|
|
77
82
|
value?: undefined;
|
|
@@ -124,6 +129,53 @@ export type AppendLedgerEntriesRequest_Transaction_FeeSettlement = Message<"tzer
|
|
|
124
129
|
* Use `create(AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema)` to create a new message.
|
|
125
130
|
*/
|
|
126
131
|
export declare const AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_FeeSettlement>;
|
|
132
|
+
/**
|
|
133
|
+
* *
|
|
134
|
+
* Funds were received from the payer by the pay-in provider, creating the
|
|
135
|
+
* inter-provider obligation to settle. The descriptor fields mirror values
|
|
136
|
+
* the entries already encode; the entries remain authoritative for balances.
|
|
137
|
+
* Only payment_intent_id is guaranteed non-zero; the remaining descriptor
|
|
138
|
+
* fields may be zero-valued.
|
|
139
|
+
*
|
|
140
|
+
* @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PiFundsReceived
|
|
141
|
+
*/
|
|
142
|
+
export type AppendLedgerEntriesRequest_Transaction_PiFundsReceived = Message<"tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PiFundsReceived"> & {
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: uint64 payment_intent_id = 10;
|
|
145
|
+
*/
|
|
146
|
+
paymentIntentId: bigint;
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: uint32 pay_in_provider_id = 20;
|
|
149
|
+
*/
|
|
150
|
+
payInProviderId: number;
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: uint32 beneficiary_provider_id = 30;
|
|
153
|
+
*/
|
|
154
|
+
beneficiaryProviderId: number;
|
|
155
|
+
/**
|
|
156
|
+
* no validation: descriptor mirror of the entries, which are authoritative for balances
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: tzero.v1.common.Decimal settlement_amount = 40;
|
|
159
|
+
*/
|
|
160
|
+
settlementAmount?: Decimal | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* no validation: descriptor mirror of the entries, which are authoritative for balances
|
|
163
|
+
*
|
|
164
|
+
* @generated from field: tzero.v1.common.Decimal beneficiary_fee = 50;
|
|
165
|
+
*/
|
|
166
|
+
beneficiaryFee?: Decimal | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* no validation: descriptor mirror of the entries, which are authoritative for balances
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: tzero.v1.common.Decimal pay_in_fee = 60;
|
|
171
|
+
*/
|
|
172
|
+
payInFee?: Decimal | undefined;
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PiFundsReceived.
|
|
176
|
+
* Use `create(AppendLedgerEntriesRequest_Transaction_PiFundsReceivedSchema)` to create a new message.
|
|
177
|
+
*/
|
|
178
|
+
export declare const AppendLedgerEntriesRequest_Transaction_PiFundsReceivedSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_PiFundsReceived>;
|
|
127
179
|
/**
|
|
128
180
|
* @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.LedgerEntry
|
|
129
181
|
*/
|
|
@@ -226,7 +278,7 @@ export declare const AppendLedgerEntriesResponseSchema: GenMessage<AppendLedgerE
|
|
|
226
278
|
export type PayoutRequest = Message<"tzero.v1.payment.PayoutRequest"> & {
|
|
227
279
|
/**
|
|
228
280
|
* *
|
|
229
|
-
*
|
|
281
|
+
* Payment id assigned by the network. Store it to reference this payment in FinalizePayout later.
|
|
230
282
|
*
|
|
231
283
|
* @generated from field: uint64 payment_id = 10;
|
|
232
284
|
*/
|
|
@@ -265,8 +317,7 @@ export type PayoutRequest = Message<"tzero.v1.payment.PayoutRequest"> & {
|
|
|
265
317
|
amount?: Decimal | undefined;
|
|
266
318
|
/**
|
|
267
319
|
* *
|
|
268
|
-
*
|
|
269
|
-
* 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.).
|
|
270
321
|
*
|
|
271
322
|
* @generated from field: optional tzero.v1.common.PaymentDetails payout_details = 60;
|
|
272
323
|
*/
|
|
@@ -310,7 +361,7 @@ export type PayoutRequest_TravelRuleData = Message<"tzero.v1.payment.PayoutReque
|
|
|
310
361
|
/**
|
|
311
362
|
* *
|
|
312
363
|
* IVMS101 travel rule data of the originating provider's legal entity.
|
|
313
|
-
*
|
|
364
|
+
* Taken from the originator entity in the corresponding CreatePaymentRequest.
|
|
314
365
|
*
|
|
315
366
|
* @generated from field: optional ivms101.Person originator_provider = 30;
|
|
316
367
|
*/
|
|
@@ -812,7 +863,7 @@ export type ApprovePaymentQuoteResponse_Rejected = Message<"tzero.v1.payment.App
|
|
|
812
863
|
export declare const ApprovePaymentQuoteResponse_RejectedSchema: GenMessage<ApprovePaymentQuoteResponse_Rejected>;
|
|
813
864
|
/**
|
|
814
865
|
* *
|
|
815
|
-
*
|
|
866
|
+
* Provider surface for executing payouts and receiving payment, limit, and ledger updates.
|
|
816
867
|
*
|
|
817
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.
|
|
818
869
|
*
|
|
@@ -821,7 +872,7 @@ export declare const ApprovePaymentQuoteResponse_RejectedSchema: GenMessage<Appr
|
|
|
821
872
|
export declare const ProviderService: GenService<{
|
|
822
873
|
/**
|
|
823
874
|
* *
|
|
824
|
-
*
|
|
875
|
+
* Execute a payout to the recipient.
|
|
825
876
|
* This method should be idempotent, meaning that multiple calls with the same parameters will have no additional effect.
|
|
826
877
|
*
|
|
827
878
|
* @generated from rpc tzero.v1.payment.ProviderService.PayOut
|
|
@@ -833,7 +884,7 @@ export declare const ProviderService: GenService<{
|
|
|
833
884
|
};
|
|
834
885
|
/**
|
|
835
886
|
* *
|
|
836
|
-
*
|
|
887
|
+
* Reports the current status of a payment — either a success or a failure.
|
|
837
888
|
* This method should be idempotent, meaning that multiple calls with the same parameters will have no additional effect.
|
|
838
889
|
*
|
|
839
890
|
* @generated from rpc tzero.v1.payment.ProviderService.UpdatePayment
|
|
@@ -845,7 +896,7 @@ export declare const ProviderService: GenService<{
|
|
|
845
896
|
};
|
|
846
897
|
/**
|
|
847
898
|
* *
|
|
848
|
-
*
|
|
899
|
+
* Delivers updated credit limit and credit usage.
|
|
849
900
|
*
|
|
850
901
|
* @generated from rpc tzero.v1.payment.ProviderService.UpdateLimit
|
|
851
902
|
*/
|
|
@@ -856,7 +907,7 @@ export declare const ProviderService: GenService<{
|
|
|
856
907
|
};
|
|
857
908
|
/**
|
|
858
909
|
* *
|
|
859
|
-
*
|
|
910
|
+
* Carries ledger-entry updates for the provider's accounts. It can be used to
|
|
860
911
|
* keep track of the provider's exposure to other participants and other important financial events. (see the list in the message below)
|
|
861
912
|
*
|
|
862
913
|
* @generated from rpc tzero.v1.payment.ProviderService.AppendLedgerEntries
|
|
@@ -868,10 +919,8 @@ export declare const ProviderService: GenService<{
|
|
|
868
919
|
};
|
|
869
920
|
/**
|
|
870
921
|
* *
|
|
871
|
-
*
|
|
872
|
-
*
|
|
873
|
-
* (if one was required). It allows pay-in provider to verify and approve final rates
|
|
874
|
-
* 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.
|
|
875
924
|
*
|
|
876
925
|
* @generated from rpc tzero.v1.payment.ProviderService.ApprovePaymentQuotes
|
|
877
926
|
*/
|
|
@@ -11,7 +11,7 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js
|
|
|
11
11
|
/**
|
|
12
12
|
* Describes the file tzero/v1/payment/provider.proto.
|
|
13
13
|
*/
|
|
14
|
-
export const file_tzero_v1_payment_provider = /*@__PURE__*/ fileDesc("
|
|
14
|
+
export const file_tzero_v1_payment_provider = /*@__PURE__*/ fileDesc("Ch90emVyby92MS9wYXltZW50L3Byb3ZpZGVyLnByb3RvEhB0emVyby52MS5wYXltZW50IrMMChpBcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBJYCgx0cmFuc2FjdGlvbnMYFCADKAsyOC50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uQgi6SAWSAQIIARrKBwoLVHJhbnNhY3Rpb24SHwoOdHJhbnNhY3Rpb25faWQYCiABKARCB7pIBDICIAASUwoHZW50cmllcxgeIAMoCzI4LnR6ZXJvLnYxLnBheW1lbnQuQXBwZW5kTGVkZ2VyRW50cmllc1JlcXVlc3QuTGVkZ2VyRW50cnlCCLpIBZIBAggBElIKBnBheW91dBiCASABKAsyPy50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0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CDVByb3ZpZGVyUHJvdG9QAVo7Z2l0aHViLmNvbS90LTAtbmV0d29yay9wcm92aWRlci1zZGsvZ28vYXBpL3R6ZXJvL3YxL3BheW1lbnSiAgNUVlCqAiNUMC5Qcm92aWRlclNkay5BcGkuVHplcm8uVjEuUGF5bWVudMoCEFR6ZXJvXFYxXFBheW1lbnTiAhxUemVyb1xWMVxQYXltZW50XEdQQk1ldGFkYXRh6gISVHplcm86OlYxOjpQYXltZW50YgZwcm90bzM", [file_tzero_v1_common_payment_method, file_tzero_v1_common_payment_receipt, file_tzero_v1_common_common, file_ivms101_v1_ivms_ivms101, file_google_protobuf_timestamp, file_buf_validate_validate]);
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.
|
|
17
17
|
* Use `create(AppendLedgerEntriesRequestSchema)` to create a new message.
|
|
@@ -37,6 +37,11 @@ export const AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema = /
|
|
|
37
37
|
* Use `create(AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema)` to create a new message.
|
|
38
38
|
*/
|
|
39
39
|
export const AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 2);
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PiFundsReceived.
|
|
42
|
+
* Use `create(AppendLedgerEntriesRequest_Transaction_PiFundsReceivedSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const AppendLedgerEntriesRequest_Transaction_PiFundsReceivedSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 3);
|
|
40
45
|
/**
|
|
41
46
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.LedgerEntry.
|
|
42
47
|
* Use `create(AppendLedgerEntriesRequest_LedgerEntrySchema)` to create a new message.
|
|
@@ -263,7 +268,7 @@ export const ApprovePaymentQuoteResponse_AcceptedSchema = /*@__PURE__*/ messageD
|
|
|
263
268
|
export const ApprovePaymentQuoteResponse_RejectedSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 9, 1);
|
|
264
269
|
/**
|
|
265
270
|
* *
|
|
266
|
-
*
|
|
271
|
+
* Provider surface for executing payouts and receiving payment, limit, and ledger updates.
|
|
267
272
|
*
|
|
268
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.
|
|
269
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,8 +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
|
|
95
|
-
* See docs/tech/TRANSACTION_REFERENCE.md.
|
|
94
|
+
* Reconcile against the beneficiary's records; serves as the anchor for dispute resolution.
|
|
96
95
|
*
|
|
97
96
|
* @generated from field: string transaction_reference = 50;
|
|
98
97
|
*/
|
|
@@ -108,8 +107,8 @@ export type PaymentIntentUpdateRequest_FundsReceived = Message<"tzero.v1.payment
|
|
|
108
107
|
/**
|
|
109
108
|
* *
|
|
110
109
|
* Flat USD surcharge retained by the pay-in provider per transfer.
|
|
111
|
-
* Already subtracted from settlement_amount.
|
|
112
|
-
*
|
|
110
|
+
* Already subtracted from settlement_amount.
|
|
111
|
+
* Settlement is computed as (payment_amount / rate) - fix.
|
|
113
112
|
*
|
|
114
113
|
* @generated from field: tzero.v1.common.Decimal fix = 70;
|
|
115
114
|
*/
|
|
@@ -153,15 +152,14 @@ export type PaymentIntentUpdateResponse = Message<"tzero.v1.payment_intent.Payme
|
|
|
153
152
|
export declare const PaymentIntentUpdateResponseSchema: GenMessage<PaymentIntentUpdateResponse>;
|
|
154
153
|
/**
|
|
155
154
|
* *
|
|
156
|
-
*
|
|
157
|
-
* notifications about payment intent status changes.
|
|
155
|
+
* Beneficiary provider surface for payment intent status notifications.
|
|
158
156
|
*
|
|
159
157
|
* Beneficiary providers are those who:
|
|
160
158
|
* - Create payment intents via CreatePaymentIntent
|
|
161
159
|
* - Receive settlement (in settlement currency via configured blockchain network)
|
|
162
160
|
* - Need to be notified of payment status changes
|
|
163
161
|
*
|
|
164
|
-
*
|
|
162
|
+
* Notifications are delivered when:
|
|
165
163
|
* - Funds have been received from the payer by pay-in provider
|
|
166
164
|
*
|
|
167
165
|
* @generated from service tzero.v1.payment_intent.BeneficiaryService
|
|
@@ -171,8 +169,7 @@ export declare const BeneficiaryService: GenService<{
|
|
|
171
169
|
* *
|
|
172
170
|
* PaymentIntentUpdate notifies the beneficiary provider of status changes.
|
|
173
171
|
*
|
|
174
|
-
*
|
|
175
|
-
* delivery in case of failures or timeouts.
|
|
172
|
+
* Delivery is retried on failure or timeout; handling must be idempotent.
|
|
176
173
|
*
|
|
177
174
|
* @generated from rpc tzero.v1.payment_intent.BeneficiaryService.PaymentIntentUpdate
|
|
178
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
|
*/
|
|
@@ -579,7 +573,6 @@ export type ConfirmFundsReceivedRequest = Message<"tzero.v1.payment_intent.Confi
|
|
|
579
573
|
* *
|
|
580
574
|
* Pay-in's rail-native reference (SEPA EndToEndId, SWIFT UETR, PIX e2e_id) — do not generate.
|
|
581
575
|
* Forwarded to the beneficiary for end-to-end tracking and dispute resolution.
|
|
582
|
-
* See docs/tech/TRANSACTION_REFERENCE.md.
|
|
583
576
|
*
|
|
584
577
|
* @generated from field: string transaction_reference = 40;
|
|
585
578
|
*/
|
|
@@ -663,8 +656,8 @@ export type ConfirmFundsReceivedResponse_Accept = Message<"tzero.v1.payment_inte
|
|
|
663
656
|
/**
|
|
664
657
|
* *
|
|
665
658
|
* Flat USD charge retained by the pay-in provider per transfer,
|
|
666
|
-
* already subtracted from settlement_amount.
|
|
667
|
-
*
|
|
659
|
+
* already subtracted from settlement_amount.
|
|
660
|
+
* Settlement is computed as (payment_amount / rate) − fix.
|
|
668
661
|
*
|
|
669
662
|
* @generated from field: tzero.v1.common.Decimal fix = 30;
|
|
670
663
|
*/
|
|
@@ -722,10 +715,9 @@ export declare enum ConfirmFundsReceivedResponse_Reject_Reason {
|
|
|
722
715
|
REJECT_REASON_AMOUNT_TOO_SMALL = 40,
|
|
723
716
|
/**
|
|
724
717
|
* *
|
|
725
|
-
* The
|
|
726
|
-
*
|
|
727
|
-
*
|
|
728
|
-
* 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.
|
|
729
721
|
*
|
|
730
722
|
* @generated from enum value: REJECT_REASON_NO_VALID_OFFER = 50;
|
|
731
723
|
*/
|
|
@@ -755,8 +747,6 @@ export declare const ConfirmFundsReceivedResponse_Reject_ReasonSchema: GenEnum<C
|
|
|
755
747
|
* 3. Pay-in provider confirms funds received
|
|
756
748
|
* 4. Settlement will happen periodically between providers
|
|
757
749
|
*
|
|
758
|
-
* This service is hosted by the T-0 Network and called by providers.
|
|
759
|
-
*
|
|
760
750
|
* @generated from service tzero.v1.payment_intent.PaymentIntentService
|
|
761
751
|
*/
|
|
762
752
|
export declare const PaymentIntentService: GenService<{
|
|
@@ -793,9 +783,7 @@ export declare const PaymentIntentService: GenService<{
|
|
|
793
783
|
* *
|
|
794
784
|
* CreatePaymentIntent initiates a new payment intent.
|
|
795
785
|
*
|
|
796
|
-
*
|
|
797
|
-
* The network finds suitable pay-in providers, retrieves their payment details,
|
|
798
|
-
* and returns available payment options to present to the end-user.
|
|
786
|
+
* Returns the available payment options to present to the end-user.
|
|
799
787
|
*
|
|
800
788
|
* The returned payment_intent_id must be stored by the beneficiary provider
|
|
801
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);
|