Constructors
constructor
- new SecrecyPayClient(client, _keys, _apiClient): SecrecyPayClient
Parameters
- client: SecrecyClient
- _keys: {
privateKey: string;
publicKey: string;
}privateKey: string
publicKey: string
- _apiClient: DecoratedProcedureRecord<CreateRouterInner<RootConfig<{}>, {}>, {}>
Methods
confirmPaymentIntent
- confirmPaymentIntent(__namedParameters): Promise<SecrecyPayResponse<{
id: string;
message: string;
}>> Parameters
- __namedParameters: {
amount: number;
currency: "eur" | "usd";
paymentIntentId: string;
secrecyIdWhoCreatedPaymentIntent: string;
secrecyIdWhoNeedToConfirmPaymentIntent: string;
}amount: number
currency: "eur" | "usd"
paymentIntentId: string
secrecyIdWhoCreatedPaymentIntent: string
secrecyIdWhoNeedToConfirmPaymentIntent: string
Returns Promise<SecrecyPayResponse<{
id: string;
message: string;
}>>