Skip to content

Latest commit

 

History

History
171 lines (112 loc) · 4.75 KB

ConfigurationApi.md

File metadata and controls

171 lines (112 loc) · 4.75 KB

OpenAPI\Client\ConfigurationApi

All URIs are relative to https://api.wall.et, except if the operation defines another base path.

Method HTTP request Description
createPublicChatRoom() POST /v2/wallet/createPublicChatRoom
saveMerchantCreditPaymentDesign() PUT /v2/wallet/merchantCredit/paymentDesign Update wallet record
saveWalletRecord() PUT /v2/wallet Update wallet record

createPublicChatRoom()

createPublicChatRoom(): string

Save wallet record

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\ConfigurationApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);

try {
    $result = $apiInstance->createPublicChatRoom();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ConfigurationApi->createPublicChatRoom: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

string

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

saveMerchantCreditPaymentDesign()

saveMerchantCreditPaymentDesign($save_merchant_credit_payment_design_request): mixed

Update wallet record

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\ConfigurationApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$save_merchant_credit_payment_design_request = new \OpenAPI\Client\Model\SaveMerchantCreditPaymentDesignRequest(); // \OpenAPI\Client\Model\SaveMerchantCreditPaymentDesignRequest

try {
    $result = $apiInstance->saveMerchantCreditPaymentDesign($save_merchant_credit_payment_design_request);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ConfigurationApi->saveMerchantCreditPaymentDesign: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
save_merchant_credit_payment_design_request \OpenAPI\Client\Model\SaveMerchantCreditPaymentDesignRequest

Return type

mixed

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

saveWalletRecord()

saveWalletRecord($wt_wallet_configuration_save_wallet_record): \OpenAPI\Client\Model\WalletConfiguration

Update wallet record

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\ConfigurationApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$wt_wallet_configuration_save_wallet_record = new \OpenAPI\Client\Model\WTWalletConfigurationSaveWalletRecord(); // \OpenAPI\Client\Model\WTWalletConfigurationSaveWalletRecord

try {
    $result = $apiInstance->saveWalletRecord($wt_wallet_configuration_save_wallet_record);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ConfigurationApi->saveWalletRecord: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
wt_wallet_configuration_save_wallet_record \OpenAPI\Client\Model\WTWalletConfigurationSaveWalletRecord

Return type

\OpenAPI\Client\Model\WalletConfiguration

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]