@blindpay/node 3.11.0 → 4.0.1
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/dist/{api-client-5N_7-zad.d.ts → api-client-BWImXDBx.d.ts} +1 -1
- package/dist/{api-client-DYqrodZr.d.mts → api-client-L9eGwH1U.d.mts} +1 -1
- package/dist/{chunk-IM2L5L4B.mjs → chunk-IJSACZHV.mjs} +16 -24
- package/dist/{chunk-N4F3FBNB.mjs → chunk-L23IOSI3.mjs} +40 -40
- package/dist/{chunk-LEPGLH7Q.mjs → chunk-SWTOSLUI.mjs} +10 -10
- package/dist/{chunk-KMU6V4LW.mjs → chunk-TVOMVVOO.mjs} +11 -11
- package/dist/{chunk-FG25JHDX.mjs → chunk-VAVDEV6P.mjs} +14 -14
- package/dist/{chunk-QGNLMN6Z.mjs → chunk-YHI3J2CL.mjs} +7 -7
- package/dist/{index.d-CGeWvXXq.d.mts → index.d-DK8eD9f3.d.mts} +1 -1
- package/dist/{index.d-CGeWvXXq.d.ts → index.d-DK8eD9f3.d.ts} +1 -1
- package/dist/index.d.mts +4 -16
- package/dist/index.d.ts +4 -16
- package/dist/index.js +83 -153
- package/dist/index.mjs +14 -20
- package/dist/resources/api-keys/api-keys.test.js +83 -151
- package/dist/resources/api-keys/api-keys.test.mjs +9 -10
- package/dist/resources/api-keys/index.d.mts +2 -2
- package/dist/resources/api-keys/index.d.ts +2 -2
- package/dist/resources/available/available.test.js +83 -151
- package/dist/resources/available/available.test.mjs +9 -10
- package/dist/resources/available/index.d.mts +2 -2
- package/dist/resources/available/index.d.ts +2 -2
- package/dist/resources/bank-accounts/bank-accounts.test.js +171 -241
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +97 -100
- package/dist/resources/bank-accounts/index.d.mts +100 -102
- package/dist/resources/bank-accounts/index.d.ts +100 -102
- package/dist/resources/bank-accounts/index.js +40 -40
- package/dist/resources/bank-accounts/index.mjs +1 -1
- package/dist/resources/customers/customers.test.js +83 -151
- package/dist/resources/customers/customers.test.mjs +9 -10
- package/dist/resources/customers/index.d.mts +70 -69
- package/dist/resources/customers/index.d.ts +70 -69
- package/dist/resources/fees/fees.test.js +83 -151
- package/dist/resources/fees/fees.test.mjs +9 -10
- package/dist/resources/fees/index.d.mts +2 -2
- package/dist/resources/fees/index.d.ts +2 -2
- package/dist/resources/instances/index.d.mts +2 -2
- package/dist/resources/instances/index.d.ts +2 -2
- package/dist/resources/instances/instances.test.js +83 -151
- package/dist/resources/instances/instances.test.mjs +9 -10
- package/dist/resources/partner-fees/index.d.mts +2 -2
- package/dist/resources/partner-fees/index.d.ts +2 -2
- package/dist/resources/partner-fees/partner-fees.test.js +83 -151
- package/dist/resources/partner-fees/partner-fees.test.mjs +9 -10
- package/dist/resources/payins/index.d.mts +2 -2
- package/dist/resources/payins/index.d.ts +2 -2
- package/dist/resources/payins/payins-quotes.test.js +83 -151
- package/dist/resources/payins/payins-quotes.test.mjs +9 -10
- package/dist/resources/payins/payins.test.js +83 -151
- package/dist/resources/payins/payins.test.mjs +9 -10
- package/dist/resources/payins/quotes.d.mts +2 -2
- package/dist/resources/payins/quotes.d.ts +2 -2
- package/dist/resources/payouts/index.d.mts +2 -2
- package/dist/resources/payouts/index.d.ts +2 -2
- package/dist/resources/payouts/payouts.test.js +83 -151
- package/dist/resources/payouts/payouts.test.mjs +9 -10
- package/dist/resources/quotes/index.d.mts +2 -2
- package/dist/resources/quotes/index.d.ts +2 -2
- package/dist/resources/quotes/quotes.test.js +83 -151
- package/dist/resources/quotes/quotes.test.mjs +9 -10
- package/dist/resources/terms-of-service/index.d.mts +2 -2
- package/dist/resources/terms-of-service/index.d.ts +2 -2
- package/dist/resources/terms-of-service/terms-of-service.test.js +83 -151
- package/dist/resources/terms-of-service/terms-of-service.test.mjs +9 -10
- package/dist/resources/transfers/index.d.mts +2 -2
- package/dist/resources/transfers/index.d.ts +2 -2
- package/dist/resources/transfers/transfers.test.js +83 -151
- package/dist/resources/transfers/transfers.test.mjs +9 -10
- package/dist/resources/upload/index.d.mts +1 -1
- package/dist/resources/upload/index.d.ts +1 -1
- package/dist/resources/upload/upload.test.js +83 -151
- package/dist/resources/upload/upload.test.mjs +9 -10
- package/dist/resources/virtual-accounts/index.d.mts +9 -9
- package/dist/resources/virtual-accounts/index.d.ts +9 -9
- package/dist/resources/virtual-accounts/index.js +10 -10
- package/dist/resources/virtual-accounts/index.mjs +1 -1
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +87 -155
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +13 -14
- package/dist/resources/wallets/blockchain.d.mts +15 -15
- package/dist/resources/wallets/blockchain.d.ts +15 -15
- package/dist/resources/wallets/blockchain.js +14 -14
- package/dist/resources/wallets/blockchain.mjs +1 -1
- package/dist/resources/wallets/blockchain.test.js +91 -159
- package/dist/resources/wallets/blockchain.test.mjs +17 -18
- package/dist/resources/wallets/custodial.d.mts +11 -11
- package/dist/resources/wallets/custodial.d.ts +11 -11
- package/dist/resources/wallets/custodial.js +11 -11
- package/dist/resources/wallets/custodial.mjs +1 -1
- package/dist/resources/wallets/custodial.test.js +87 -155
- package/dist/resources/wallets/custodial.test.mjs +13 -14
- package/dist/resources/wallets/offramp.d.mts +9 -9
- package/dist/resources/wallets/offramp.d.ts +9 -9
- package/dist/resources/wallets/offramp.js +7 -7
- package/dist/resources/wallets/offramp.mjs +1 -1
- package/dist/resources/wallets/offramp.test.js +89 -157
- package/dist/resources/wallets/offramp.test.mjs +15 -16
- package/dist/resources/webhooks/index.d.mts +2 -2
- package/dist/resources/webhooks/index.d.ts +2 -2
- package/dist/resources/webhooks/webhooks.test.js +83 -151
- package/dist/resources/webhooks/webhooks.test.mjs +9 -10
- package/package.json +1 -1
- package/dist/chunk-NAGY6BLL.mjs +0 -79
- package/dist/resources/receivers/index.d.mts +0 -513
- package/dist/resources/receivers/index.d.ts +0 -513
- package/dist/resources/receivers/index.js +0 -118
- package/dist/resources/receivers/index.mjs +0 -9
- package/dist/resources/receivers/receivers.test.d.mts +0 -2
- package/dist/resources/receivers/receivers.test.d.ts +0 -2
- package/dist/resources/receivers/receivers.test.js +0 -20510
- package/dist/resources/receivers/receivers.test.mjs +0 -652
- package/dist/strict-omit-ByJhzKNC.d.mts +0 -3
- package/dist/strict-omit-ByJhzKNC.d.ts +0 -3
package/dist/chunk-NAGY6BLL.mjs
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__esm,
|
|
3
|
-
__objRest,
|
|
4
|
-
__spreadValues
|
|
5
|
-
} from "./chunk-OBKEW4AQ.mjs";
|
|
6
|
-
|
|
7
|
-
// src/resources/receivers/index.ts
|
|
8
|
-
function createReceiversResource(instanceId, client) {
|
|
9
|
-
return {
|
|
10
|
-
/** @deprecated Use `customers.list` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
11
|
-
list(params) {
|
|
12
|
-
const queryParams = params ? `?${new URLSearchParams(params)}` : "";
|
|
13
|
-
return client.get(`/instances/${instanceId}/receivers${queryParams}`);
|
|
14
|
-
},
|
|
15
|
-
/** @deprecated Use `customers.createIndividualWithStandardKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
16
|
-
createIndividualWithStandardKYC(data) {
|
|
17
|
-
return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
|
|
18
|
-
kyc_type: "standard",
|
|
19
|
-
type: "individual"
|
|
20
|
-
}, data));
|
|
21
|
-
},
|
|
22
|
-
/** @deprecated Use `customers.createIndividualWithEnhancedKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
23
|
-
createIndividualWithEnhancedKYC(data) {
|
|
24
|
-
return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
|
|
25
|
-
kyc_type: "enhanced",
|
|
26
|
-
type: "individual"
|
|
27
|
-
}, data));
|
|
28
|
-
},
|
|
29
|
-
/** @deprecated Use `customers.createBusinessWithStandardKYB` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
30
|
-
createBusinessWithStandardKYB(data) {
|
|
31
|
-
return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
|
|
32
|
-
kyc_type: "standard",
|
|
33
|
-
type: "business"
|
|
34
|
-
}, data));
|
|
35
|
-
},
|
|
36
|
-
/** @deprecated Use `customers.get` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
37
|
-
get(receiver_id) {
|
|
38
|
-
return client.get(`/instances/${instanceId}/receivers/${receiver_id}`);
|
|
39
|
-
},
|
|
40
|
-
/** @deprecated Use `customers.update` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
41
|
-
update(_a) {
|
|
42
|
-
var _b = _a, { receiver_id } = _b, data = __objRest(_b, ["receiver_id"]);
|
|
43
|
-
return client.put(`/instances/${instanceId}/receivers/${receiver_id}`, data);
|
|
44
|
-
},
|
|
45
|
-
/** @deprecated Use `customers.delete` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
46
|
-
delete(receiver_id) {
|
|
47
|
-
return client.delete(`/instances/${instanceId}/receivers/${receiver_id}`);
|
|
48
|
-
},
|
|
49
|
-
/** @deprecated Use `customers.getLimits` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
50
|
-
getLimits(receiver_id) {
|
|
51
|
-
return client.get(`/instances/${instanceId}/limits/receivers/${receiver_id}`);
|
|
52
|
-
},
|
|
53
|
-
/** @deprecated Use `customers.getLimitIncreaseRequests` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
54
|
-
getLimitIncreaseRequests(receiver_id) {
|
|
55
|
-
return client.get(`/instances/${instanceId}/receivers/${receiver_id}/limit-increase`);
|
|
56
|
-
},
|
|
57
|
-
/** @deprecated Use `customers.requestLimitIncrease` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
58
|
-
requestLimitIncrease(_c) {
|
|
59
|
-
var _d = _c, {
|
|
60
|
-
receiver_id
|
|
61
|
-
} = _d, data = __objRest(_d, [
|
|
62
|
-
"receiver_id"
|
|
63
|
-
]);
|
|
64
|
-
return client.post(
|
|
65
|
-
`/instances/${instanceId}/receivers/${receiver_id}/limit-increase`,
|
|
66
|
-
data
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
var init_receivers = __esm({
|
|
72
|
-
"src/resources/receivers/index.ts"() {
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
export {
|
|
77
|
-
createReceiversResource,
|
|
78
|
-
init_receivers
|
|
79
|
-
};
|
|
@@ -1,513 +0,0 @@
|
|
|
1
|
-
import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus, e as AccountPurpose, S as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, f as SourceOfWealth, g as RecipientRelationship, h as SoleProprietorDocType, i as PurposeOfTransactions, j as PaginationMetadata, k as BusinessType } from '../../index.d-CGeWvXXq.mjs';
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-DYqrodZr.mjs';
|
|
3
|
-
import { S as StrictOmit } from '../../strict-omit-ByJhzKNC.mjs';
|
|
4
|
-
|
|
5
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
6
|
-
type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
|
|
7
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
8
|
-
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
9
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
10
|
-
type AmlStatus = "clear" | "hit" | "error";
|
|
11
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
12
|
-
type AmlHits = {
|
|
13
|
-
has_sanction_match: boolean;
|
|
14
|
-
has_pep_match: boolean;
|
|
15
|
-
has_watchlist_match: boolean;
|
|
16
|
-
has_crimelist_match: boolean;
|
|
17
|
-
has_adversemedia_match: boolean;
|
|
18
|
-
};
|
|
19
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
20
|
-
type FraudWarning = {
|
|
21
|
-
id: string | null;
|
|
22
|
-
name: string | null;
|
|
23
|
-
operation: string | null;
|
|
24
|
-
score: number | null;
|
|
25
|
-
};
|
|
26
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
27
|
-
type OwnerTaxType = "SSN" | "ITIN";
|
|
28
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
29
|
-
type KycType = "light" | "standard" | "enhanced";
|
|
30
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
31
|
-
type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
|
|
32
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
33
|
-
type Owner = {
|
|
34
|
-
id: string;
|
|
35
|
-
role: OwnerRole;
|
|
36
|
-
first_name: string;
|
|
37
|
-
last_name: string;
|
|
38
|
-
date_of_birth: string;
|
|
39
|
-
tax_id: string;
|
|
40
|
-
address_line_1: string;
|
|
41
|
-
address_line_2: string | null;
|
|
42
|
-
city: string;
|
|
43
|
-
state_province_region: string;
|
|
44
|
-
country: Country;
|
|
45
|
-
postal_code: string;
|
|
46
|
-
id_doc_country: Country;
|
|
47
|
-
id_doc_type: IdentificationDocument;
|
|
48
|
-
id_doc_front_file: string;
|
|
49
|
-
id_doc_back_file: string | null;
|
|
50
|
-
proof_of_address_doc_type: ProofOfAddressDocType;
|
|
51
|
-
proof_of_address_doc_file: string | null;
|
|
52
|
-
ownership_percentage: number | null;
|
|
53
|
-
title: string | null;
|
|
54
|
-
tax_type?: OwnerTaxType | null;
|
|
55
|
-
instance_id?: string;
|
|
56
|
-
receiver_id?: string;
|
|
57
|
-
};
|
|
58
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
59
|
-
type IndividualWithStandardKYC = {
|
|
60
|
-
id: string;
|
|
61
|
-
is_tos_accepted: boolean;
|
|
62
|
-
type: Extract<AccountClass, "individual">;
|
|
63
|
-
kyc_type: Extract<KycType, "standard">;
|
|
64
|
-
kyc_status: KycStatus;
|
|
65
|
-
kyc_warnings: Array<{
|
|
66
|
-
code: string | null;
|
|
67
|
-
message: string | null;
|
|
68
|
-
resolution_status: string | null;
|
|
69
|
-
warning_id: string | null;
|
|
70
|
-
}> | null;
|
|
71
|
-
email: string;
|
|
72
|
-
tax_id: string;
|
|
73
|
-
address_line_1: string;
|
|
74
|
-
address_line_2?: string | null;
|
|
75
|
-
city: string;
|
|
76
|
-
state_province_region: string;
|
|
77
|
-
country: Country;
|
|
78
|
-
postal_code: string;
|
|
79
|
-
ip_address: string | null;
|
|
80
|
-
image_url: string | null;
|
|
81
|
-
phone_number: string;
|
|
82
|
-
proof_of_address_doc_type: ProofOfAddressDocType;
|
|
83
|
-
proof_of_address_doc_file: string;
|
|
84
|
-
first_name: string;
|
|
85
|
-
last_name: string;
|
|
86
|
-
date_of_birth: string;
|
|
87
|
-
id_doc_country: Country;
|
|
88
|
-
id_doc_type: IdentificationDocument;
|
|
89
|
-
id_doc_front_file: string;
|
|
90
|
-
id_doc_back_file: string;
|
|
91
|
-
aiprise_validation_key: string;
|
|
92
|
-
instance_id: string;
|
|
93
|
-
tos_id: string | null;
|
|
94
|
-
created_at: string;
|
|
95
|
-
updated_at: string;
|
|
96
|
-
limit: {
|
|
97
|
-
per_transaction: number;
|
|
98
|
-
daily: number;
|
|
99
|
-
monthly: number;
|
|
100
|
-
};
|
|
101
|
-
fraud_warnings?: FraudWarning[] | null;
|
|
102
|
-
aml_status?: AmlStatus | null;
|
|
103
|
-
aml_hits?: AmlHits | null;
|
|
104
|
-
account_purpose?: AccountPurpose | null;
|
|
105
|
-
account_purpose_other?: string | null;
|
|
106
|
-
occupation?: string | null;
|
|
107
|
-
external_id?: string | null;
|
|
108
|
-
is_fbo?: boolean | null;
|
|
109
|
-
selfie_file?: string | null;
|
|
110
|
-
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
111
|
-
source_of_funds_doc_file?: string | null;
|
|
112
|
-
business_description?: string | null;
|
|
113
|
-
business_industry?: BusinessIndustry | null;
|
|
114
|
-
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
115
|
-
source_of_wealth?: SourceOfWealth | null;
|
|
116
|
-
recipient_relationship?: RecipientRelationship | null;
|
|
117
|
-
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
118
|
-
publicly_traded?: boolean | null;
|
|
119
|
-
};
|
|
120
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
121
|
-
type IndividualWithEnhancedKYC = {
|
|
122
|
-
id: string;
|
|
123
|
-
is_tos_accepted: boolean;
|
|
124
|
-
type: Extract<AccountClass, "individual">;
|
|
125
|
-
kyc_type: Extract<KycType, "enhanced">;
|
|
126
|
-
kyc_status: KycStatus;
|
|
127
|
-
kyc_warnings: Array<{
|
|
128
|
-
code: string | null;
|
|
129
|
-
message: string | null;
|
|
130
|
-
resolution_status: string | null;
|
|
131
|
-
warning_id: string | null;
|
|
132
|
-
}> | null;
|
|
133
|
-
email: string;
|
|
134
|
-
tax_id: string;
|
|
135
|
-
address_line_1: string;
|
|
136
|
-
address_line_2?: string | null;
|
|
137
|
-
city: string;
|
|
138
|
-
state_province_region: string;
|
|
139
|
-
country: Country;
|
|
140
|
-
postal_code: string;
|
|
141
|
-
ip_address: string | null;
|
|
142
|
-
image_url: string | null;
|
|
143
|
-
phone_number: string | null;
|
|
144
|
-
proof_of_address_doc_type: ProofOfAddressDocType;
|
|
145
|
-
proof_of_address_doc_file: string;
|
|
146
|
-
first_name: string;
|
|
147
|
-
last_name: string;
|
|
148
|
-
date_of_birth: string;
|
|
149
|
-
id_doc_country: Country;
|
|
150
|
-
id_doc_type: IdentificationDocument;
|
|
151
|
-
id_doc_front_file: string;
|
|
152
|
-
id_doc_back_file: string | null;
|
|
153
|
-
aiprise_validation_key: string;
|
|
154
|
-
instance_id: string;
|
|
155
|
-
source_of_funds_doc_type: string;
|
|
156
|
-
source_of_funds_doc_file: string;
|
|
157
|
-
individual_holding_doc_front_file: string;
|
|
158
|
-
purpose_of_transactions: PurposeOfTransactions;
|
|
159
|
-
purpose_of_transactions_explanation: string | null;
|
|
160
|
-
tos_id: string | null;
|
|
161
|
-
created_at: string;
|
|
162
|
-
updated_at: string;
|
|
163
|
-
limit: {
|
|
164
|
-
per_transaction: number;
|
|
165
|
-
daily: number;
|
|
166
|
-
monthly: number;
|
|
167
|
-
};
|
|
168
|
-
fraud_warnings?: FraudWarning[] | null;
|
|
169
|
-
aml_status?: AmlStatus | null;
|
|
170
|
-
aml_hits?: AmlHits | null;
|
|
171
|
-
account_purpose?: AccountPurpose | null;
|
|
172
|
-
account_purpose_other?: string | null;
|
|
173
|
-
occupation?: string | null;
|
|
174
|
-
external_id?: string | null;
|
|
175
|
-
is_fbo?: boolean | null;
|
|
176
|
-
selfie_file?: string | null;
|
|
177
|
-
business_description?: string | null;
|
|
178
|
-
business_industry?: BusinessIndustry | null;
|
|
179
|
-
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
180
|
-
source_of_wealth?: SourceOfWealth | null;
|
|
181
|
-
recipient_relationship?: RecipientRelationship | null;
|
|
182
|
-
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
183
|
-
publicly_traded?: boolean | null;
|
|
184
|
-
};
|
|
185
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
186
|
-
type BusinessWithStandardKYB = {
|
|
187
|
-
id: string;
|
|
188
|
-
is_tos_accepted: boolean;
|
|
189
|
-
is_fbo: boolean;
|
|
190
|
-
type: Extract<AccountClass, "business">;
|
|
191
|
-
kyc_type: Extract<KycType, "standard">;
|
|
192
|
-
kyc_status: KycStatus;
|
|
193
|
-
kyc_warnings: Array<{
|
|
194
|
-
code: string | null;
|
|
195
|
-
message: string | null;
|
|
196
|
-
resolution_status: string | null;
|
|
197
|
-
warning_id: string | null;
|
|
198
|
-
}> | null;
|
|
199
|
-
email: string;
|
|
200
|
-
tax_id: string;
|
|
201
|
-
address_line_1: string;
|
|
202
|
-
address_line_2?: string | null;
|
|
203
|
-
city: string;
|
|
204
|
-
state_province_region: string;
|
|
205
|
-
country: Country;
|
|
206
|
-
postal_code: string;
|
|
207
|
-
ip_address: string | null;
|
|
208
|
-
image_url: string | null;
|
|
209
|
-
phone_number: string | null;
|
|
210
|
-
proof_of_address_doc_type: ProofOfAddressDocType;
|
|
211
|
-
proof_of_address_doc_file: string;
|
|
212
|
-
legal_name: string;
|
|
213
|
-
alternate_name: string | null;
|
|
214
|
-
formation_date: string;
|
|
215
|
-
website: string | null;
|
|
216
|
-
owners: Owner[];
|
|
217
|
-
incorporation_doc_file: string;
|
|
218
|
-
proof_of_ownership_doc_file: string;
|
|
219
|
-
external_id: string | null;
|
|
220
|
-
instance_id: string;
|
|
221
|
-
tos_id: string | null;
|
|
222
|
-
aiprise_validation_key: string;
|
|
223
|
-
created_at: string;
|
|
224
|
-
updated_at: string;
|
|
225
|
-
limit: {
|
|
226
|
-
per_transaction: number;
|
|
227
|
-
daily: number;
|
|
228
|
-
monthly: number;
|
|
229
|
-
};
|
|
230
|
-
fraud_warnings?: FraudWarning[] | null;
|
|
231
|
-
aml_status?: AmlStatus | null;
|
|
232
|
-
aml_hits?: AmlHits | null;
|
|
233
|
-
account_purpose?: AccountPurpose | null;
|
|
234
|
-
account_purpose_other?: string | null;
|
|
235
|
-
occupation?: string | null;
|
|
236
|
-
selfie_file?: string | null;
|
|
237
|
-
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
238
|
-
source_of_funds_doc_file?: string | null;
|
|
239
|
-
business_description?: string | null;
|
|
240
|
-
business_industry?: BusinessIndustry | null;
|
|
241
|
-
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
242
|
-
source_of_wealth?: SourceOfWealth | null;
|
|
243
|
-
recipient_relationship?: RecipientRelationship | null;
|
|
244
|
-
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
245
|
-
};
|
|
246
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
247
|
-
type CreateIndividualWithStandardKYCInput = {
|
|
248
|
-
country: Country;
|
|
249
|
-
email: string;
|
|
250
|
-
account_purpose?: AccountPurpose | null;
|
|
251
|
-
address_line_1?: string | null;
|
|
252
|
-
address_line_2?: string | null;
|
|
253
|
-
city?: string | null;
|
|
254
|
-
date_of_birth?: string | null;
|
|
255
|
-
external_id?: string | null;
|
|
256
|
-
first_name?: string | null;
|
|
257
|
-
id_doc_back_file?: string | null;
|
|
258
|
-
id_doc_country?: Country | null;
|
|
259
|
-
id_doc_front_file?: string | null;
|
|
260
|
-
id_doc_type?: IdentificationDocument | null;
|
|
261
|
-
image_url?: string | null;
|
|
262
|
-
ip_address?: string | null;
|
|
263
|
-
last_name?: string | null;
|
|
264
|
-
phone_number?: string | null;
|
|
265
|
-
postal_code?: string | null;
|
|
266
|
-
proof_of_address_doc_file?: string | null;
|
|
267
|
-
proof_of_address_doc_type?: ProofOfAddressDocType | null;
|
|
268
|
-
selfie_file?: string | null;
|
|
269
|
-
source_of_funds_doc_file?: string | null;
|
|
270
|
-
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
271
|
-
source_of_wealth?: SourceOfWealth | null;
|
|
272
|
-
state_province_region?: string | null;
|
|
273
|
-
tax_id?: string | null;
|
|
274
|
-
tos_id?: string | null;
|
|
275
|
-
account_purpose_other?: string | null;
|
|
276
|
-
occupation?: string | null;
|
|
277
|
-
recipient_relationship?: RecipientRelationship | null;
|
|
278
|
-
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
279
|
-
};
|
|
280
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
281
|
-
type CreateIndividualWithStandardKYCResponse = {
|
|
282
|
-
id: string;
|
|
283
|
-
};
|
|
284
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
285
|
-
type CreateIndividualWithEnhancedKYCInput = {
|
|
286
|
-
country: Country;
|
|
287
|
-
email: string;
|
|
288
|
-
account_purpose?: AccountPurpose | null;
|
|
289
|
-
address_line_1?: string | null;
|
|
290
|
-
address_line_2?: string | null;
|
|
291
|
-
city?: string | null;
|
|
292
|
-
date_of_birth?: string | null;
|
|
293
|
-
external_id?: string | null;
|
|
294
|
-
first_name?: string | null;
|
|
295
|
-
id_doc_back_file?: string | null;
|
|
296
|
-
id_doc_country?: Country | null;
|
|
297
|
-
id_doc_front_file?: string | null;
|
|
298
|
-
id_doc_type?: IdentificationDocument | null;
|
|
299
|
-
image_url?: string | null;
|
|
300
|
-
ip_address?: string | null;
|
|
301
|
-
last_name?: string | null;
|
|
302
|
-
phone_number?: string | null;
|
|
303
|
-
postal_code?: string | null;
|
|
304
|
-
proof_of_address_doc_file?: string | null;
|
|
305
|
-
proof_of_address_doc_type?: ProofOfAddressDocType | null;
|
|
306
|
-
purpose_of_transactions?: PurposeOfTransactions | null;
|
|
307
|
-
purpose_of_transactions_explanation?: string | null;
|
|
308
|
-
selfie_file?: string | null;
|
|
309
|
-
source_of_funds_doc_file?: string | null;
|
|
310
|
-
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
311
|
-
source_of_wealth?: SourceOfWealth | null;
|
|
312
|
-
state_province_region?: string | null;
|
|
313
|
-
tax_id?: string | null;
|
|
314
|
-
tos_id?: string | null;
|
|
315
|
-
account_purpose_other?: string | null;
|
|
316
|
-
occupation?: string | null;
|
|
317
|
-
recipient_relationship?: RecipientRelationship | null;
|
|
318
|
-
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
319
|
-
};
|
|
320
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
321
|
-
type CreateIndividualWithEnhancedKYCResponse = {
|
|
322
|
-
id: string;
|
|
323
|
-
};
|
|
324
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
325
|
-
type CreateBusinessWithStandardKYBInput = {
|
|
326
|
-
country: Country;
|
|
327
|
-
email: string;
|
|
328
|
-
account_purpose?: AccountPurpose | null;
|
|
329
|
-
address_line_1?: string | null;
|
|
330
|
-
address_line_2?: string | null;
|
|
331
|
-
alternate_name?: string | null;
|
|
332
|
-
business_description?: string | null;
|
|
333
|
-
business_industry?: BusinessIndustry | null;
|
|
334
|
-
business_type?: BusinessType | null;
|
|
335
|
-
city?: string | null;
|
|
336
|
-
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
337
|
-
external_id?: string | null;
|
|
338
|
-
formation_date?: string | null;
|
|
339
|
-
image_url?: string | null;
|
|
340
|
-
incorporation_doc_file?: string | null;
|
|
341
|
-
ip_address?: string | null;
|
|
342
|
-
legal_name?: string | null;
|
|
343
|
-
owners?: Array<StrictOmit<Owner, "id">> | null;
|
|
344
|
-
phone_number?: string | null;
|
|
345
|
-
postal_code?: string | null;
|
|
346
|
-
proof_of_address_doc_file?: string | null;
|
|
347
|
-
proof_of_address_doc_type?: ProofOfAddressDocType | null;
|
|
348
|
-
proof_of_ownership_doc_file?: string | null;
|
|
349
|
-
publicly_traded?: boolean | null;
|
|
350
|
-
source_of_funds_doc_file?: string | null;
|
|
351
|
-
source_of_funds_doc_type?: SourceOfFundsDocType | null;
|
|
352
|
-
source_of_wealth?: SourceOfWealth | null;
|
|
353
|
-
state_province_region?: string | null;
|
|
354
|
-
tax_id?: string | null;
|
|
355
|
-
tos_id?: string | null;
|
|
356
|
-
website?: string | null;
|
|
357
|
-
account_purpose_other?: string | null;
|
|
358
|
-
occupation?: string | null;
|
|
359
|
-
recipient_relationship?: RecipientRelationship | null;
|
|
360
|
-
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
361
|
-
};
|
|
362
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
363
|
-
type CreateBusinessWithStandardKYBResponse = {
|
|
364
|
-
id: string;
|
|
365
|
-
};
|
|
366
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
367
|
-
type ListReceiversInput = PaginationParams & {
|
|
368
|
-
full_name?: string;
|
|
369
|
-
receiver_name?: string;
|
|
370
|
-
status?: string;
|
|
371
|
-
receiver_id?: string;
|
|
372
|
-
bank_account_id?: string;
|
|
373
|
-
country?: Country;
|
|
374
|
-
};
|
|
375
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
376
|
-
type ListReceiversResponse = {
|
|
377
|
-
data: Array<IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB>;
|
|
378
|
-
pagination: PaginationMetadata;
|
|
379
|
-
};
|
|
380
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
381
|
-
type GetReceiverInput = string;
|
|
382
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
383
|
-
type GetReceiverResponse = IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB;
|
|
384
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
385
|
-
type UpdateReceiverInput = {
|
|
386
|
-
receiver_id: string;
|
|
387
|
-
account_purpose?: AccountPurpose | null;
|
|
388
|
-
address_line_1?: string;
|
|
389
|
-
address_line_2?: string;
|
|
390
|
-
alternate_name?: string;
|
|
391
|
-
business_description?: string;
|
|
392
|
-
business_industry?: BusinessIndustry | null;
|
|
393
|
-
business_type?: BusinessType | null;
|
|
394
|
-
city?: string;
|
|
395
|
-
country?: Country;
|
|
396
|
-
date_of_birth?: string;
|
|
397
|
-
email?: string;
|
|
398
|
-
estimated_annual_revenue?: EstimatedAnnualRevenue | null;
|
|
399
|
-
external_id?: string;
|
|
400
|
-
first_name?: string;
|
|
401
|
-
formation_date?: string;
|
|
402
|
-
id_doc_back_file?: string;
|
|
403
|
-
id_doc_country?: Country;
|
|
404
|
-
id_doc_front_file?: string;
|
|
405
|
-
id_doc_type?: IdentificationDocument;
|
|
406
|
-
image_url?: string;
|
|
407
|
-
incorporation_doc_file?: string;
|
|
408
|
-
ip_address?: string;
|
|
409
|
-
last_name?: string;
|
|
410
|
-
legal_name?: string;
|
|
411
|
-
owners?: Array<StrictOmit<Owner, "id">>;
|
|
412
|
-
phone_number?: string;
|
|
413
|
-
postal_code?: string;
|
|
414
|
-
proof_of_address_doc_file?: string;
|
|
415
|
-
proof_of_address_doc_type?: ProofOfAddressDocType;
|
|
416
|
-
proof_of_ownership_doc_file?: string;
|
|
417
|
-
publicly_traded?: boolean | null;
|
|
418
|
-
purpose_of_transactions?: PurposeOfTransactions;
|
|
419
|
-
purpose_of_transactions_explanation?: string;
|
|
420
|
-
selfie_file?: string;
|
|
421
|
-
source_of_funds_doc_file?: string;
|
|
422
|
-
source_of_funds_doc_type?: SourceOfFundsDocType;
|
|
423
|
-
source_of_wealth?: SourceOfWealth | null;
|
|
424
|
-
state_province_region?: string;
|
|
425
|
-
tax_id?: string;
|
|
426
|
-
tos_id?: string;
|
|
427
|
-
website?: string;
|
|
428
|
-
account_purpose_other?: string | null;
|
|
429
|
-
occupation?: string | null;
|
|
430
|
-
recipient_relationship?: RecipientRelationship | null;
|
|
431
|
-
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
432
|
-
};
|
|
433
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
434
|
-
type DeleteReceiverInput = string;
|
|
435
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
436
|
-
type GetReceiverLimitsInput = string;
|
|
437
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
438
|
-
type GetReceiverLimitsResponse = {
|
|
439
|
-
limits: {
|
|
440
|
-
payin: {
|
|
441
|
-
daily: number;
|
|
442
|
-
monthly: number;
|
|
443
|
-
};
|
|
444
|
-
payout: {
|
|
445
|
-
daily: number;
|
|
446
|
-
monthly: number;
|
|
447
|
-
};
|
|
448
|
-
};
|
|
449
|
-
};
|
|
450
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
451
|
-
type GetLimitIncreaseRequestsInput = string;
|
|
452
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
453
|
-
type LimitIncreaseRequestStatus = "in_review" | "approved" | "rejected";
|
|
454
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
455
|
-
type LimitIncreaseRequestSupportingDocumentType = "individual_bank_statement" | "individual_tax_return" | "individual_proof_of_income" | "business_bank_statement" | "business_financial_statements" | "business_tax_return";
|
|
456
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
457
|
-
type GetLimitIncreaseRequestsResponse = Array<{
|
|
458
|
-
id: string;
|
|
459
|
-
receiver_id: string;
|
|
460
|
-
status: LimitIncreaseRequestStatus;
|
|
461
|
-
daily: number;
|
|
462
|
-
monthly: number;
|
|
463
|
-
per_transaction: number;
|
|
464
|
-
supporting_document_file: string;
|
|
465
|
-
supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
|
|
466
|
-
created_at: string;
|
|
467
|
-
updated_at: string;
|
|
468
|
-
approved_per_transaction?: number | null;
|
|
469
|
-
approved_daily?: number | null;
|
|
470
|
-
approved_monthly?: number | null;
|
|
471
|
-
}>;
|
|
472
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
473
|
-
type RequestLimitIncreaseInput = {
|
|
474
|
-
receiver_id: string;
|
|
475
|
-
daily: number;
|
|
476
|
-
monthly: number;
|
|
477
|
-
per_transaction: number;
|
|
478
|
-
supporting_document_file: string;
|
|
479
|
-
supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
|
|
480
|
-
};
|
|
481
|
-
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
482
|
-
type RequestLimitIncreaseResponse = {
|
|
483
|
-
id: string;
|
|
484
|
-
};
|
|
485
|
-
/**
|
|
486
|
-
* @deprecated Use `customers` instead. The `/receivers` API surface is being
|
|
487
|
-
* renamed to `/customers` and will be removed in v4.0.0.
|
|
488
|
-
* https://www.blindpay.com/changelog/2026-06-04-customers-rename
|
|
489
|
-
*/
|
|
490
|
-
declare function createReceiversResource(instanceId: string, client: InternalApiClient): {
|
|
491
|
-
/** @deprecated Use `customers.list` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
492
|
-
list(params?: ListReceiversInput): Promise<BlindpayApiResponse<ListReceiversResponse>>;
|
|
493
|
-
/** @deprecated Use `customers.createIndividualWithStandardKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
494
|
-
createIndividualWithStandardKYC(data: CreateIndividualWithStandardKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithStandardKYCResponse>>;
|
|
495
|
-
/** @deprecated Use `customers.createIndividualWithEnhancedKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
496
|
-
createIndividualWithEnhancedKYC(data: CreateIndividualWithEnhancedKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithEnhancedKYCResponse>>;
|
|
497
|
-
/** @deprecated Use `customers.createBusinessWithStandardKYB` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
498
|
-
createBusinessWithStandardKYB(data: CreateBusinessWithStandardKYBInput): Promise<BlindpayApiResponse<CreateBusinessWithStandardKYBResponse>>;
|
|
499
|
-
/** @deprecated Use `customers.get` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
500
|
-
get(receiver_id: GetReceiverInput): Promise<BlindpayApiResponse<GetReceiverResponse>>;
|
|
501
|
-
/** @deprecated Use `customers.update` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
502
|
-
update({ receiver_id, ...data }: UpdateReceiverInput): Promise<BlindpayApiResponse<void>>;
|
|
503
|
-
/** @deprecated Use `customers.delete` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
504
|
-
delete(receiver_id: DeleteReceiverInput): Promise<BlindpayApiResponse<void>>;
|
|
505
|
-
/** @deprecated Use `customers.getLimits` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
506
|
-
getLimits(receiver_id: GetReceiverLimitsInput): Promise<BlindpayApiResponse<GetReceiverLimitsResponse>>;
|
|
507
|
-
/** @deprecated Use `customers.getLimitIncreaseRequests` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
508
|
-
getLimitIncreaseRequests(receiver_id: GetLimitIncreaseRequestsInput): Promise<BlindpayApiResponse<GetLimitIncreaseRequestsResponse>>;
|
|
509
|
-
/** @deprecated Use `customers.requestLimitIncrease` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
510
|
-
requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
|
|
511
|
-
};
|
|
512
|
-
|
|
513
|
-
export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
|