@blockchyp/blockchyp-ts 2.18.7 → 2.19.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/README.md CHANGED
@@ -3848,6 +3848,49 @@ client.inviteMerchantUser(request)
3848
3848
 
3849
3849
  ```
3850
3850
 
3851
+ #### Add Gateway Merchant
3852
+
3853
+
3854
+
3855
+ * **API Credential Types:** Partner
3856
+ * **Required Role:** Gateway Boarding
3857
+
3858
+ This is a partner level API that can be used to manually board gateway merchants. Use this API in conjunction
3859
+ with Platform Configuration to instantly board gateway merchants. Note that most partners don't have
3860
+ permission to do this and are unlikely to get it.
3861
+
3862
+ Settings can be changed by using the Update Merchant API.
3863
+
3864
+
3865
+
3866
+
3867
+ ```typescript
3868
+ import * as BlockChyp from '@blockchyp/blockchyp-ts';
3869
+
3870
+ const client = BlockChyp.newClient({
3871
+ apiKey: 'ZDSMMZLGRPBPRTJUBTAFBYZ33Q',
3872
+ bearerToken: 'ZLBW5NR4U5PKD5PNP3ZP3OZS5U',
3873
+ signingKey: '9c6a5e8e763df1c9256e3d72bd7f53dfbd07312938131c75b3bfd254da787947'
3874
+ });
3875
+
3876
+ const request = new BlockChyp.AddGatewayMerchantRequest();
3877
+
3878
+ const profile = new BlockChyp.MerchantProfile();
3879
+ profile.dbaName = 'DBA Name';
3880
+ profile.companyName = 'Corporate Entity Name';
3881
+ request.profile = profile;
3882
+
3883
+ client.addGatewayMerchant(request)
3884
+ .then(function(httpResponse) {
3885
+ const response: BlockChyp.MerchantProfileResponse = httpResponse.data;
3886
+ console.log('Response: ' + JSON.stringify(response));
3887
+ })
3888
+ .catch(function (error: any) {
3889
+ console.log(error);
3890
+ });
3891
+
3892
+ ```
3893
+
3851
3894
  #### Add Test Merchant
3852
3895
 
3853
3896