@blindpay/node 3.10.0 → 3.11.0
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-BWImXDBx.d.ts → api-client-5N_7-zad.d.ts} +1 -1
- package/dist/{api-client-L9eGwH1U.d.mts → api-client-DYqrodZr.d.mts} +1 -1
- package/dist/{chunk-7PWF4J3Z.mjs → chunk-IM2L5L4B.mjs} +20 -12
- package/dist/{chunk-YIZJM2GU.mjs → chunk-NAGY6BLL.mjs} +10 -0
- package/dist/chunk-SLKVEQUY.mjs +76 -0
- package/dist/{index.d-DK8eD9f3.d.mts → index.d-CGeWvXXq.d.mts} +1 -1
- package/dist/{index.d-DK8eD9f3.d.ts → index.d-CGeWvXXq.d.ts} +1 -1
- package/dist/index.d.mts +15 -3
- package/dist/index.d.ts +15 -3
- package/dist/index.js +78 -1
- package/dist/index.mjs +16 -10
- package/dist/resources/api-keys/api-keys.test.js +76 -1
- package/dist/resources/api-keys/api-keys.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/available/available.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +6 -5
- package/dist/resources/bank-accounts/index.d.mts +2 -2
- package/dist/resources/bank-accounts/index.d.ts +2 -2
- package/dist/resources/customers/customers.test.d.mts +2 -0
- package/dist/resources/customers/customers.test.d.ts +2 -0
- package/dist/resources/customers/customers.test.js +20510 -0
- package/dist/resources/customers/customers.test.mjs +652 -0
- package/dist/resources/customers/index.d.mts +466 -0
- package/dist/resources/customers/index.d.ts +466 -0
- package/dist/resources/customers/index.js +115 -0
- package/dist/resources/customers/index.mjs +9 -0
- package/dist/resources/fees/fees.test.js +76 -1
- package/dist/resources/fees/fees.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/instances/instances.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/partner-fees/partner-fees.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/payins/payins-quotes.test.mjs +6 -5
- package/dist/resources/payins/payins.test.js +76 -1
- package/dist/resources/payins/payins.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/payouts/payouts.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/quotes/quotes.test.mjs +6 -5
- package/dist/resources/receivers/index.d.mts +50 -4
- package/dist/resources/receivers/index.d.ts +50 -4
- package/dist/resources/receivers/index.js +10 -0
- package/dist/resources/receivers/index.mjs +1 -1
- package/dist/resources/receivers/receivers.test.js +76 -1
- package/dist/resources/receivers/receivers.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/terms-of-service/terms-of-service.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/transfers/transfers.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/upload/upload.test.mjs +6 -5
- package/dist/resources/virtual-accounts/index.d.mts +2 -2
- package/dist/resources/virtual-accounts/index.d.ts +2 -2
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +76 -1
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +6 -5
- package/dist/resources/wallets/blockchain.d.mts +2 -2
- package/dist/resources/wallets/blockchain.d.ts +2 -2
- package/dist/resources/wallets/blockchain.test.js +76 -1
- package/dist/resources/wallets/blockchain.test.mjs +6 -5
- package/dist/resources/wallets/custodial.d.mts +2 -2
- package/dist/resources/wallets/custodial.d.ts +2 -2
- package/dist/resources/wallets/custodial.test.js +76 -1
- package/dist/resources/wallets/custodial.test.mjs +6 -5
- package/dist/resources/wallets/offramp.d.mts +2 -2
- package/dist/resources/wallets/offramp.d.ts +2 -2
- package/dist/resources/wallets/offramp.test.js +76 -1
- package/dist/resources/wallets/offramp.test.mjs +6 -5
- 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 +76 -1
- package/dist/resources/webhooks/webhooks.test.mjs +6 -5
- package/dist/strict-omit-ByJhzKNC.d.mts +3 -0
- package/dist/strict-omit-ByJhzKNC.d.ts +3 -0
- package/package.json +1 -1
|
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
|
|
|
18702
18702
|
var import_svix = require("svix");
|
|
18703
18703
|
|
|
18704
18704
|
// package.json
|
|
18705
|
-
var version = "3.
|
|
18705
|
+
var version = "3.11.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -18889,6 +18889,68 @@ function createBankAccountsResource(instanceId, client) {
|
|
|
18889
18889
|
};
|
|
18890
18890
|
}
|
|
18891
18891
|
|
|
18892
|
+
// src/resources/customers/index.ts
|
|
18893
|
+
function createCustomersResource(instanceId, client) {
|
|
18894
|
+
return {
|
|
18895
|
+
list(params) {
|
|
18896
|
+
const wireParams = params ? Object.fromEntries(
|
|
18897
|
+
Object.entries(params).map(([k2, v2]) => {
|
|
18898
|
+
if (k2 === "customer_id") return ["receiver_id", v2];
|
|
18899
|
+
if (k2 === "customer_name") return ["receiver_name", v2];
|
|
18900
|
+
return [k2, v2];
|
|
18901
|
+
})
|
|
18902
|
+
) : void 0;
|
|
18903
|
+
const queryParams = wireParams ? `?${new URLSearchParams(wireParams)}` : "";
|
|
18904
|
+
return client.get(`/instances/${instanceId}/customers${queryParams}`);
|
|
18905
|
+
},
|
|
18906
|
+
createIndividualWithStandardKYC(data) {
|
|
18907
|
+
return client.post(`/instances/${instanceId}/customers`, __spreadValues({
|
|
18908
|
+
kyc_type: "standard",
|
|
18909
|
+
type: "individual"
|
|
18910
|
+
}, data));
|
|
18911
|
+
},
|
|
18912
|
+
createIndividualWithEnhancedKYC(data) {
|
|
18913
|
+
return client.post(`/instances/${instanceId}/customers`, __spreadValues({
|
|
18914
|
+
kyc_type: "enhanced",
|
|
18915
|
+
type: "individual"
|
|
18916
|
+
}, data));
|
|
18917
|
+
},
|
|
18918
|
+
createBusinessWithStandardKYB(data) {
|
|
18919
|
+
return client.post(`/instances/${instanceId}/customers`, __spreadValues({
|
|
18920
|
+
kyc_type: "standard",
|
|
18921
|
+
type: "business"
|
|
18922
|
+
}, data));
|
|
18923
|
+
},
|
|
18924
|
+
get(customer_id) {
|
|
18925
|
+
return client.get(`/instances/${instanceId}/customers/${customer_id}`);
|
|
18926
|
+
},
|
|
18927
|
+
update(_a3) {
|
|
18928
|
+
var _b = _a3, { customer_id } = _b, data = __objRest(_b, ["customer_id"]);
|
|
18929
|
+
return client.put(`/instances/${instanceId}/customers/${customer_id}`, data);
|
|
18930
|
+
},
|
|
18931
|
+
delete(customer_id) {
|
|
18932
|
+
return client.delete(`/instances/${instanceId}/customers/${customer_id}`);
|
|
18933
|
+
},
|
|
18934
|
+
getLimits(customer_id) {
|
|
18935
|
+
return client.get(`/instances/${instanceId}/limits/customers/${customer_id}`);
|
|
18936
|
+
},
|
|
18937
|
+
getLimitIncreaseRequests(customer_id) {
|
|
18938
|
+
return client.get(`/instances/${instanceId}/customers/${customer_id}/limit-increase`);
|
|
18939
|
+
},
|
|
18940
|
+
requestLimitIncrease(_c) {
|
|
18941
|
+
var _d = _c, {
|
|
18942
|
+
customer_id
|
|
18943
|
+
} = _d, data = __objRest(_d, [
|
|
18944
|
+
"customer_id"
|
|
18945
|
+
]);
|
|
18946
|
+
return client.post(
|
|
18947
|
+
`/instances/${instanceId}/customers/${customer_id}/limit-increase`,
|
|
18948
|
+
data
|
|
18949
|
+
);
|
|
18950
|
+
}
|
|
18951
|
+
};
|
|
18952
|
+
}
|
|
18953
|
+
|
|
18892
18954
|
// src/resources/fees/index.ts
|
|
18893
18955
|
function createFeesResource(instanceId, client) {
|
|
18894
18956
|
return {
|
|
@@ -19038,44 +19100,54 @@ function createQuotesResource(instanceId, client) {
|
|
|
19038
19100
|
// src/resources/receivers/index.ts
|
|
19039
19101
|
function createReceiversResource(instanceId, client) {
|
|
19040
19102
|
return {
|
|
19103
|
+
/** @deprecated Use `customers.list` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
19041
19104
|
list(params) {
|
|
19042
19105
|
const queryParams = params ? `?${new URLSearchParams(params)}` : "";
|
|
19043
19106
|
return client.get(`/instances/${instanceId}/receivers${queryParams}`);
|
|
19044
19107
|
},
|
|
19108
|
+
/** @deprecated Use `customers.createIndividualWithStandardKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
19045
19109
|
createIndividualWithStandardKYC(data) {
|
|
19046
19110
|
return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
|
|
19047
19111
|
kyc_type: "standard",
|
|
19048
19112
|
type: "individual"
|
|
19049
19113
|
}, data));
|
|
19050
19114
|
},
|
|
19115
|
+
/** @deprecated Use `customers.createIndividualWithEnhancedKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
19051
19116
|
createIndividualWithEnhancedKYC(data) {
|
|
19052
19117
|
return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
|
|
19053
19118
|
kyc_type: "enhanced",
|
|
19054
19119
|
type: "individual"
|
|
19055
19120
|
}, data));
|
|
19056
19121
|
},
|
|
19122
|
+
/** @deprecated Use `customers.createBusinessWithStandardKYB` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
19057
19123
|
createBusinessWithStandardKYB(data) {
|
|
19058
19124
|
return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
|
|
19059
19125
|
kyc_type: "standard",
|
|
19060
19126
|
type: "business"
|
|
19061
19127
|
}, data));
|
|
19062
19128
|
},
|
|
19129
|
+
/** @deprecated Use `customers.get` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
19063
19130
|
get(receiver_id) {
|
|
19064
19131
|
return client.get(`/instances/${instanceId}/receivers/${receiver_id}`);
|
|
19065
19132
|
},
|
|
19133
|
+
/** @deprecated Use `customers.update` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
19066
19134
|
update(_a3) {
|
|
19067
19135
|
var _b = _a3, { receiver_id } = _b, data = __objRest(_b, ["receiver_id"]);
|
|
19068
19136
|
return client.put(`/instances/${instanceId}/receivers/${receiver_id}`, data);
|
|
19069
19137
|
},
|
|
19138
|
+
/** @deprecated Use `customers.delete` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
19070
19139
|
delete(receiver_id) {
|
|
19071
19140
|
return client.delete(`/instances/${instanceId}/receivers/${receiver_id}`);
|
|
19072
19141
|
},
|
|
19142
|
+
/** @deprecated Use `customers.getLimits` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
19073
19143
|
getLimits(receiver_id) {
|
|
19074
19144
|
return client.get(`/instances/${instanceId}/limits/receivers/${receiver_id}`);
|
|
19075
19145
|
},
|
|
19146
|
+
/** @deprecated Use `customers.getLimitIncreaseRequests` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
19076
19147
|
getLimitIncreaseRequests(receiver_id) {
|
|
19077
19148
|
return client.get(`/instances/${instanceId}/receivers/${receiver_id}/limit-increase`);
|
|
19078
19149
|
},
|
|
19150
|
+
/** @deprecated Use `customers.requestLimitIncrease` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
19079
19151
|
requestLimitIncrease(_c) {
|
|
19080
19152
|
var _d = _c, {
|
|
19081
19153
|
receiver_id
|
|
@@ -19429,6 +19501,9 @@ var BlindPay = class {
|
|
|
19429
19501
|
this.transfers = createTransfersResource(this.instanceId, this.api);
|
|
19430
19502
|
this.fees = createFeesResource(this.instanceId, this.api);
|
|
19431
19503
|
this.upload = createUploadResource(this.baseUrl, this.headers);
|
|
19504
|
+
this.customers = __spreadProps(__spreadValues({}, createCustomersResource(this.instanceId, this.api)), {
|
|
19505
|
+
bankAccounts: createBankAccountsResource(this.instanceId, this.api)
|
|
19506
|
+
});
|
|
19432
19507
|
this.receivers = __spreadProps(__spreadValues({}, createReceiversResource(this.instanceId, this.api)), {
|
|
19433
19508
|
bankAccounts: createBankAccountsResource(this.instanceId, this.api)
|
|
19434
19509
|
});
|
|
@@ -8,23 +8,24 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-IM2L5L4B.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
15
15
|
import "../../chunk-UC57SCKQ.mjs";
|
|
16
|
+
import "../../chunk-Z6EYX4D3.mjs";
|
|
16
17
|
import "../../chunk-ISHZTBAN.mjs";
|
|
17
18
|
import "../../chunk-UDRMLZWT.mjs";
|
|
18
19
|
import "../../chunk-LEPGLH7Q.mjs";
|
|
20
|
+
import "../../chunk-VGU72ZNI.mjs";
|
|
19
21
|
import "../../chunk-E7M4CJKR.mjs";
|
|
20
|
-
import "../../chunk-F5Z45GCA.mjs";
|
|
21
22
|
import "../../chunk-TBTA7A2P.mjs";
|
|
22
|
-
import "../../chunk-
|
|
23
|
-
import "../../chunk-
|
|
23
|
+
import "../../chunk-NAGY6BLL.mjs";
|
|
24
|
+
import "../../chunk-SLKVEQUY.mjs";
|
|
24
25
|
import "../../chunk-ALHMJWQN.mjs";
|
|
25
26
|
import "../../chunk-KYOUR4KX.mjs";
|
|
26
27
|
import "../../chunk-RC5NN5UF.mjs";
|
|
27
|
-
import "../../chunk-
|
|
28
|
+
import "../../chunk-F5Z45GCA.mjs";
|
|
28
29
|
import "../../chunk-LRHWT4JU.mjs";
|
|
29
30
|
import "../../chunk-WE73MTQL.mjs";
|
|
30
31
|
import "../../chunk-N4F3FBNB.mjs";
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus,
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
3
|
-
|
|
4
|
-
type StrictOmit<T, K extends keyof T> = Omit<T, K>;
|
|
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';
|
|
5
4
|
|
|
5
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
6
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 */
|
|
7
8
|
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
9
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
8
10
|
type AmlStatus = "clear" | "hit" | "error";
|
|
11
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
9
12
|
type AmlHits = {
|
|
10
13
|
has_sanction_match: boolean;
|
|
11
14
|
has_pep_match: boolean;
|
|
@@ -13,15 +16,20 @@ type AmlHits = {
|
|
|
13
16
|
has_crimelist_match: boolean;
|
|
14
17
|
has_adversemedia_match: boolean;
|
|
15
18
|
};
|
|
19
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
16
20
|
type FraudWarning = {
|
|
17
21
|
id: string | null;
|
|
18
22
|
name: string | null;
|
|
19
23
|
operation: string | null;
|
|
20
24
|
score: number | null;
|
|
21
25
|
};
|
|
26
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
22
27
|
type OwnerTaxType = "SSN" | "ITIN";
|
|
28
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
23
29
|
type KycType = "light" | "standard" | "enhanced";
|
|
30
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
24
31
|
type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
|
|
32
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
25
33
|
type Owner = {
|
|
26
34
|
id: string;
|
|
27
35
|
role: OwnerRole;
|
|
@@ -47,6 +55,7 @@ type Owner = {
|
|
|
47
55
|
instance_id?: string;
|
|
48
56
|
receiver_id?: string;
|
|
49
57
|
};
|
|
58
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
50
59
|
type IndividualWithStandardKYC = {
|
|
51
60
|
id: string;
|
|
52
61
|
is_tos_accepted: boolean;
|
|
@@ -108,6 +117,7 @@ type IndividualWithStandardKYC = {
|
|
|
108
117
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
109
118
|
publicly_traded?: boolean | null;
|
|
110
119
|
};
|
|
120
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
111
121
|
type IndividualWithEnhancedKYC = {
|
|
112
122
|
id: string;
|
|
113
123
|
is_tos_accepted: boolean;
|
|
@@ -172,6 +182,7 @@ type IndividualWithEnhancedKYC = {
|
|
|
172
182
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
173
183
|
publicly_traded?: boolean | null;
|
|
174
184
|
};
|
|
185
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
175
186
|
type BusinessWithStandardKYB = {
|
|
176
187
|
id: string;
|
|
177
188
|
is_tos_accepted: boolean;
|
|
@@ -232,6 +243,7 @@ type BusinessWithStandardKYB = {
|
|
|
232
243
|
recipient_relationship?: RecipientRelationship | null;
|
|
233
244
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
234
245
|
};
|
|
246
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
235
247
|
type CreateIndividualWithStandardKYCInput = {
|
|
236
248
|
country: Country;
|
|
237
249
|
email: string;
|
|
@@ -265,9 +277,11 @@ type CreateIndividualWithStandardKYCInput = {
|
|
|
265
277
|
recipient_relationship?: RecipientRelationship | null;
|
|
266
278
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
267
279
|
};
|
|
280
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
268
281
|
type CreateIndividualWithStandardKYCResponse = {
|
|
269
282
|
id: string;
|
|
270
283
|
};
|
|
284
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
271
285
|
type CreateIndividualWithEnhancedKYCInput = {
|
|
272
286
|
country: Country;
|
|
273
287
|
email: string;
|
|
@@ -303,9 +317,11 @@ type CreateIndividualWithEnhancedKYCInput = {
|
|
|
303
317
|
recipient_relationship?: RecipientRelationship | null;
|
|
304
318
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
305
319
|
};
|
|
320
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
306
321
|
type CreateIndividualWithEnhancedKYCResponse = {
|
|
307
322
|
id: string;
|
|
308
323
|
};
|
|
324
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
309
325
|
type CreateBusinessWithStandardKYBInput = {
|
|
310
326
|
country: Country;
|
|
311
327
|
email: string;
|
|
@@ -343,9 +359,11 @@ type CreateBusinessWithStandardKYBInput = {
|
|
|
343
359
|
recipient_relationship?: RecipientRelationship | null;
|
|
344
360
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
345
361
|
};
|
|
362
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
346
363
|
type CreateBusinessWithStandardKYBResponse = {
|
|
347
364
|
id: string;
|
|
348
365
|
};
|
|
366
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
349
367
|
type ListReceiversInput = PaginationParams & {
|
|
350
368
|
full_name?: string;
|
|
351
369
|
receiver_name?: string;
|
|
@@ -354,12 +372,16 @@ type ListReceiversInput = PaginationParams & {
|
|
|
354
372
|
bank_account_id?: string;
|
|
355
373
|
country?: Country;
|
|
356
374
|
};
|
|
375
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
357
376
|
type ListReceiversResponse = {
|
|
358
377
|
data: Array<IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB>;
|
|
359
378
|
pagination: PaginationMetadata;
|
|
360
379
|
};
|
|
380
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
361
381
|
type GetReceiverInput = string;
|
|
382
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
362
383
|
type GetReceiverResponse = IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB;
|
|
384
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
363
385
|
type UpdateReceiverInput = {
|
|
364
386
|
receiver_id: string;
|
|
365
387
|
account_purpose?: AccountPurpose | null;
|
|
@@ -408,8 +430,11 @@ type UpdateReceiverInput = {
|
|
|
408
430
|
recipient_relationship?: RecipientRelationship | null;
|
|
409
431
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
410
432
|
};
|
|
433
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
411
434
|
type DeleteReceiverInput = string;
|
|
435
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
412
436
|
type GetReceiverLimitsInput = string;
|
|
437
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
413
438
|
type GetReceiverLimitsResponse = {
|
|
414
439
|
limits: {
|
|
415
440
|
payin: {
|
|
@@ -422,9 +447,13 @@ type GetReceiverLimitsResponse = {
|
|
|
422
447
|
};
|
|
423
448
|
};
|
|
424
449
|
};
|
|
450
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
425
451
|
type GetLimitIncreaseRequestsInput = string;
|
|
452
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
426
453
|
type LimitIncreaseRequestStatus = "in_review" | "approved" | "rejected";
|
|
454
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
427
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 */
|
|
428
457
|
type GetLimitIncreaseRequestsResponse = Array<{
|
|
429
458
|
id: string;
|
|
430
459
|
receiver_id: string;
|
|
@@ -440,6 +469,7 @@ type GetLimitIncreaseRequestsResponse = Array<{
|
|
|
440
469
|
approved_daily?: number | null;
|
|
441
470
|
approved_monthly?: number | null;
|
|
442
471
|
}>;
|
|
472
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
443
473
|
type RequestLimitIncreaseInput = {
|
|
444
474
|
receiver_id: string;
|
|
445
475
|
daily: number;
|
|
@@ -448,19 +478,35 @@ type RequestLimitIncreaseInput = {
|
|
|
448
478
|
supporting_document_file: string;
|
|
449
479
|
supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
|
|
450
480
|
};
|
|
481
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
451
482
|
type RequestLimitIncreaseResponse = {
|
|
452
483
|
id: string;
|
|
453
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
|
+
*/
|
|
454
490
|
declare function createReceiversResource(instanceId: string, client: InternalApiClient): {
|
|
491
|
+
/** @deprecated Use `customers.list` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
455
492
|
list(params?: ListReceiversInput): Promise<BlindpayApiResponse<ListReceiversResponse>>;
|
|
493
|
+
/** @deprecated Use `customers.createIndividualWithStandardKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
456
494
|
createIndividualWithStandardKYC(data: CreateIndividualWithStandardKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithStandardKYCResponse>>;
|
|
495
|
+
/** @deprecated Use `customers.createIndividualWithEnhancedKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
457
496
|
createIndividualWithEnhancedKYC(data: CreateIndividualWithEnhancedKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithEnhancedKYCResponse>>;
|
|
497
|
+
/** @deprecated Use `customers.createBusinessWithStandardKYB` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
458
498
|
createBusinessWithStandardKYB(data: CreateBusinessWithStandardKYBInput): Promise<BlindpayApiResponse<CreateBusinessWithStandardKYBResponse>>;
|
|
499
|
+
/** @deprecated Use `customers.get` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
459
500
|
get(receiver_id: GetReceiverInput): Promise<BlindpayApiResponse<GetReceiverResponse>>;
|
|
501
|
+
/** @deprecated Use `customers.update` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
460
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 */
|
|
461
504
|
delete(receiver_id: DeleteReceiverInput): Promise<BlindpayApiResponse<void>>;
|
|
505
|
+
/** @deprecated Use `customers.getLimits` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
462
506
|
getLimits(receiver_id: GetReceiverLimitsInput): Promise<BlindpayApiResponse<GetReceiverLimitsResponse>>;
|
|
507
|
+
/** @deprecated Use `customers.getLimitIncreaseRequests` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
463
508
|
getLimitIncreaseRequests(receiver_id: GetLimitIncreaseRequestsInput): Promise<BlindpayApiResponse<GetLimitIncreaseRequestsResponse>>;
|
|
509
|
+
/** @deprecated Use `customers.requestLimitIncrease` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
464
510
|
requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
|
|
465
511
|
};
|
|
466
512
|
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus,
|
|
2
|
-
import { I as InternalApiClient } from '../../api-client-
|
|
3
|
-
|
|
4
|
-
type StrictOmit<T, K extends keyof T> = Omit<T, K>;
|
|
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.js';
|
|
2
|
+
import { I as InternalApiClient } from '../../api-client-5N_7-zad.js';
|
|
3
|
+
import { S as StrictOmit } from '../../strict-omit-ByJhzKNC.js';
|
|
5
4
|
|
|
5
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
6
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 */
|
|
7
8
|
type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
|
|
9
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
8
10
|
type AmlStatus = "clear" | "hit" | "error";
|
|
11
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
9
12
|
type AmlHits = {
|
|
10
13
|
has_sanction_match: boolean;
|
|
11
14
|
has_pep_match: boolean;
|
|
@@ -13,15 +16,20 @@ type AmlHits = {
|
|
|
13
16
|
has_crimelist_match: boolean;
|
|
14
17
|
has_adversemedia_match: boolean;
|
|
15
18
|
};
|
|
19
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
16
20
|
type FraudWarning = {
|
|
17
21
|
id: string | null;
|
|
18
22
|
name: string | null;
|
|
19
23
|
operation: string | null;
|
|
20
24
|
score: number | null;
|
|
21
25
|
};
|
|
26
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
22
27
|
type OwnerTaxType = "SSN" | "ITIN";
|
|
28
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
23
29
|
type KycType = "light" | "standard" | "enhanced";
|
|
30
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
24
31
|
type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
|
|
32
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
25
33
|
type Owner = {
|
|
26
34
|
id: string;
|
|
27
35
|
role: OwnerRole;
|
|
@@ -47,6 +55,7 @@ type Owner = {
|
|
|
47
55
|
instance_id?: string;
|
|
48
56
|
receiver_id?: string;
|
|
49
57
|
};
|
|
58
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
50
59
|
type IndividualWithStandardKYC = {
|
|
51
60
|
id: string;
|
|
52
61
|
is_tos_accepted: boolean;
|
|
@@ -108,6 +117,7 @@ type IndividualWithStandardKYC = {
|
|
|
108
117
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
109
118
|
publicly_traded?: boolean | null;
|
|
110
119
|
};
|
|
120
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
111
121
|
type IndividualWithEnhancedKYC = {
|
|
112
122
|
id: string;
|
|
113
123
|
is_tos_accepted: boolean;
|
|
@@ -172,6 +182,7 @@ type IndividualWithEnhancedKYC = {
|
|
|
172
182
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
173
183
|
publicly_traded?: boolean | null;
|
|
174
184
|
};
|
|
185
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
175
186
|
type BusinessWithStandardKYB = {
|
|
176
187
|
id: string;
|
|
177
188
|
is_tos_accepted: boolean;
|
|
@@ -232,6 +243,7 @@ type BusinessWithStandardKYB = {
|
|
|
232
243
|
recipient_relationship?: RecipientRelationship | null;
|
|
233
244
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
234
245
|
};
|
|
246
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
235
247
|
type CreateIndividualWithStandardKYCInput = {
|
|
236
248
|
country: Country;
|
|
237
249
|
email: string;
|
|
@@ -265,9 +277,11 @@ type CreateIndividualWithStandardKYCInput = {
|
|
|
265
277
|
recipient_relationship?: RecipientRelationship | null;
|
|
266
278
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
267
279
|
};
|
|
280
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
268
281
|
type CreateIndividualWithStandardKYCResponse = {
|
|
269
282
|
id: string;
|
|
270
283
|
};
|
|
284
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
271
285
|
type CreateIndividualWithEnhancedKYCInput = {
|
|
272
286
|
country: Country;
|
|
273
287
|
email: string;
|
|
@@ -303,9 +317,11 @@ type CreateIndividualWithEnhancedKYCInput = {
|
|
|
303
317
|
recipient_relationship?: RecipientRelationship | null;
|
|
304
318
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
305
319
|
};
|
|
320
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
306
321
|
type CreateIndividualWithEnhancedKYCResponse = {
|
|
307
322
|
id: string;
|
|
308
323
|
};
|
|
324
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
309
325
|
type CreateBusinessWithStandardKYBInput = {
|
|
310
326
|
country: Country;
|
|
311
327
|
email: string;
|
|
@@ -343,9 +359,11 @@ type CreateBusinessWithStandardKYBInput = {
|
|
|
343
359
|
recipient_relationship?: RecipientRelationship | null;
|
|
344
360
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
345
361
|
};
|
|
362
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
346
363
|
type CreateBusinessWithStandardKYBResponse = {
|
|
347
364
|
id: string;
|
|
348
365
|
};
|
|
366
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
349
367
|
type ListReceiversInput = PaginationParams & {
|
|
350
368
|
full_name?: string;
|
|
351
369
|
receiver_name?: string;
|
|
@@ -354,12 +372,16 @@ type ListReceiversInput = PaginationParams & {
|
|
|
354
372
|
bank_account_id?: string;
|
|
355
373
|
country?: Country;
|
|
356
374
|
};
|
|
375
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
357
376
|
type ListReceiversResponse = {
|
|
358
377
|
data: Array<IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB>;
|
|
359
378
|
pagination: PaginationMetadata;
|
|
360
379
|
};
|
|
380
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
361
381
|
type GetReceiverInput = string;
|
|
382
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
362
383
|
type GetReceiverResponse = IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB;
|
|
384
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
363
385
|
type UpdateReceiverInput = {
|
|
364
386
|
receiver_id: string;
|
|
365
387
|
account_purpose?: AccountPurpose | null;
|
|
@@ -408,8 +430,11 @@ type UpdateReceiverInput = {
|
|
|
408
430
|
recipient_relationship?: RecipientRelationship | null;
|
|
409
431
|
sole_proprietor_doc_type?: SoleProprietorDocType | null;
|
|
410
432
|
};
|
|
433
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
411
434
|
type DeleteReceiverInput = string;
|
|
435
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
412
436
|
type GetReceiverLimitsInput = string;
|
|
437
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
413
438
|
type GetReceiverLimitsResponse = {
|
|
414
439
|
limits: {
|
|
415
440
|
payin: {
|
|
@@ -422,9 +447,13 @@ type GetReceiverLimitsResponse = {
|
|
|
422
447
|
};
|
|
423
448
|
};
|
|
424
449
|
};
|
|
450
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
425
451
|
type GetLimitIncreaseRequestsInput = string;
|
|
452
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
426
453
|
type LimitIncreaseRequestStatus = "in_review" | "approved" | "rejected";
|
|
454
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
427
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 */
|
|
428
457
|
type GetLimitIncreaseRequestsResponse = Array<{
|
|
429
458
|
id: string;
|
|
430
459
|
receiver_id: string;
|
|
@@ -440,6 +469,7 @@ type GetLimitIncreaseRequestsResponse = Array<{
|
|
|
440
469
|
approved_daily?: number | null;
|
|
441
470
|
approved_monthly?: number | null;
|
|
442
471
|
}>;
|
|
472
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
443
473
|
type RequestLimitIncreaseInput = {
|
|
444
474
|
receiver_id: string;
|
|
445
475
|
daily: number;
|
|
@@ -448,19 +478,35 @@ type RequestLimitIncreaseInput = {
|
|
|
448
478
|
supporting_document_file: string;
|
|
449
479
|
supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
|
|
450
480
|
};
|
|
481
|
+
/** @deprecated Renamed to customers. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
451
482
|
type RequestLimitIncreaseResponse = {
|
|
452
483
|
id: string;
|
|
453
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
|
+
*/
|
|
454
490
|
declare function createReceiversResource(instanceId: string, client: InternalApiClient): {
|
|
491
|
+
/** @deprecated Use `customers.list` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
455
492
|
list(params?: ListReceiversInput): Promise<BlindpayApiResponse<ListReceiversResponse>>;
|
|
493
|
+
/** @deprecated Use `customers.createIndividualWithStandardKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
456
494
|
createIndividualWithStandardKYC(data: CreateIndividualWithStandardKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithStandardKYCResponse>>;
|
|
495
|
+
/** @deprecated Use `customers.createIndividualWithEnhancedKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
457
496
|
createIndividualWithEnhancedKYC(data: CreateIndividualWithEnhancedKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithEnhancedKYCResponse>>;
|
|
497
|
+
/** @deprecated Use `customers.createBusinessWithStandardKYB` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
458
498
|
createBusinessWithStandardKYB(data: CreateBusinessWithStandardKYBInput): Promise<BlindpayApiResponse<CreateBusinessWithStandardKYBResponse>>;
|
|
499
|
+
/** @deprecated Use `customers.get` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
459
500
|
get(receiver_id: GetReceiverInput): Promise<BlindpayApiResponse<GetReceiverResponse>>;
|
|
501
|
+
/** @deprecated Use `customers.update` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
460
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 */
|
|
461
504
|
delete(receiver_id: DeleteReceiverInput): Promise<BlindpayApiResponse<void>>;
|
|
505
|
+
/** @deprecated Use `customers.getLimits` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
462
506
|
getLimits(receiver_id: GetReceiverLimitsInput): Promise<BlindpayApiResponse<GetReceiverLimitsResponse>>;
|
|
507
|
+
/** @deprecated Use `customers.getLimitIncreaseRequests` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
463
508
|
getLimitIncreaseRequests(receiver_id: GetLimitIncreaseRequestsInput): Promise<BlindpayApiResponse<GetLimitIncreaseRequestsResponse>>;
|
|
509
|
+
/** @deprecated Use `customers.requestLimitIncrease` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
464
510
|
requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
|
|
465
511
|
};
|
|
466
512
|
|
|
@@ -51,44 +51,54 @@ __export(receivers_exports, {
|
|
|
51
51
|
module.exports = __toCommonJS(receivers_exports);
|
|
52
52
|
function createReceiversResource(instanceId, client) {
|
|
53
53
|
return {
|
|
54
|
+
/** @deprecated Use `customers.list` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
54
55
|
list(params) {
|
|
55
56
|
const queryParams = params ? `?${new URLSearchParams(params)}` : "";
|
|
56
57
|
return client.get(`/instances/${instanceId}/receivers${queryParams}`);
|
|
57
58
|
},
|
|
59
|
+
/** @deprecated Use `customers.createIndividualWithStandardKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
58
60
|
createIndividualWithStandardKYC(data) {
|
|
59
61
|
return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
|
|
60
62
|
kyc_type: "standard",
|
|
61
63
|
type: "individual"
|
|
62
64
|
}, data));
|
|
63
65
|
},
|
|
66
|
+
/** @deprecated Use `customers.createIndividualWithEnhancedKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
64
67
|
createIndividualWithEnhancedKYC(data) {
|
|
65
68
|
return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
|
|
66
69
|
kyc_type: "enhanced",
|
|
67
70
|
type: "individual"
|
|
68
71
|
}, data));
|
|
69
72
|
},
|
|
73
|
+
/** @deprecated Use `customers.createBusinessWithStandardKYB` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
70
74
|
createBusinessWithStandardKYB(data) {
|
|
71
75
|
return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
|
|
72
76
|
kyc_type: "standard",
|
|
73
77
|
type: "business"
|
|
74
78
|
}, data));
|
|
75
79
|
},
|
|
80
|
+
/** @deprecated Use `customers.get` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
76
81
|
get(receiver_id) {
|
|
77
82
|
return client.get(`/instances/${instanceId}/receivers/${receiver_id}`);
|
|
78
83
|
},
|
|
84
|
+
/** @deprecated Use `customers.update` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
79
85
|
update(_a) {
|
|
80
86
|
var _b = _a, { receiver_id } = _b, data = __objRest(_b, ["receiver_id"]);
|
|
81
87
|
return client.put(`/instances/${instanceId}/receivers/${receiver_id}`, data);
|
|
82
88
|
},
|
|
89
|
+
/** @deprecated Use `customers.delete` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
83
90
|
delete(receiver_id) {
|
|
84
91
|
return client.delete(`/instances/${instanceId}/receivers/${receiver_id}`);
|
|
85
92
|
},
|
|
93
|
+
/** @deprecated Use `customers.getLimits` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
86
94
|
getLimits(receiver_id) {
|
|
87
95
|
return client.get(`/instances/${instanceId}/limits/receivers/${receiver_id}`);
|
|
88
96
|
},
|
|
97
|
+
/** @deprecated Use `customers.getLimitIncreaseRequests` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
89
98
|
getLimitIncreaseRequests(receiver_id) {
|
|
90
99
|
return client.get(`/instances/${instanceId}/receivers/${receiver_id}/limit-increase`);
|
|
91
100
|
},
|
|
101
|
+
/** @deprecated Use `customers.requestLimitIncrease` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
|
|
92
102
|
requestLimitIncrease(_c) {
|
|
93
103
|
var _d = _c, {
|
|
94
104
|
receiver_id
|