Skip to content

Latest commit

 

History

History
1033 lines (694 loc) · 34.6 KB

InstallmentPlanApi.md

File metadata and controls

1033 lines (694 loc) · 34.6 KB

SplititSdkClient\InstallmentPlanApi

All URIs are relative to https://webapi.production.splitit.com

Method HTTP request Description
installmentPlanApprove POST /api/InstallmentPlan/Approve
installmentPlanCancel POST /api/InstallmentPlan/Cancel
installmentPlanChargeBack POST /api/InstallmentPlan/ChargeBack
installmentPlanCreate POST /api/InstallmentPlan/Create
installmentPlanGet POST /api/InstallmentPlan/Get
installmentPlanGet3DSecureParameters POST /api/InstallmentPlan/Get3DSecureParameters
installmentPlanGetExtended POST /api/InstallmentPlan/GetExtended
installmentPlanGetFraudStatusDisplay POST /api/InstallmentPlan/GetFraudStatusDisplay
installmentPlanGetInitiatedInstallmentPlanRequest POST /api/InstallmentPlan/GetInitiatedInstallmentPlanRequest
installmentPlanGetInitiatedUpdatePaymentData GET /api/InstallmentPlan/GetInitiatedUpdatePaymentData
installmentPlanGetLearnMoreDetails POST /api/InstallmentPlan/GetLearnMoreDetails
installmentPlanGetPGTL POST /api/InstallmentPlan/GetPGTL
installmentPlanGetSchedules POST /api/InstallmentPlan/GetSchedules
installmentPlanInitiate POST /api/InstallmentPlan/Initiate
installmentPlanRefund POST /api/InstallmentPlan/Refund
installmentPlanRequestPayment POST /api/InstallmentPlan/RequestPayment
installmentPlanStartInstallments POST /api/InstallmentPlan/StartInstallments
installmentPlanTermsAndConditions POST /api/InstallmentPlan/TermsAndConditions
installmentPlanTestCard POST /api/InstallmentPlan/TestCard
installmentPlanUpdate POST /api/InstallmentPlan/Update
installmentPlanVerifyPayment POST /api/InstallmentPlan/Get/VerifyPayment

installmentPlanApprove

\SplititSdkClient\Model\InstallmentPlanResponse installmentPlanApprove($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\ApproveInstallmentPlanRequest(); // \SplititSdkClient\Model\ApproveInstallmentPlanRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\ApproveInstallmentPlanRequest

Return type

\SplititSdkClient\Model\InstallmentPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanCancel

\SplititSdkClient\Model\InstallmentPlanResponse installmentPlanCancel($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\CancelInstallmentPlanRequest(); // \SplititSdkClient\Model\CancelInstallmentPlanRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\CancelInstallmentPlanRequest

Return type

\SplititSdkClient\Model\InstallmentPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanChargeBack

\SplititSdkClient\Model\InstallmentPlanResponse installmentPlanChargeBack($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\ChargebackRequest(); // \SplititSdkClient\Model\ChargebackRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\ChargebackRequest

Return type

\SplititSdkClient\Model\InstallmentPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanCreate

\SplititSdkClient\Model\CreateInstallmentsPlanResponse installmentPlanCreate($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\CreateInstallmentPlanRequest(); // \SplititSdkClient\Model\CreateInstallmentPlanRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\CreateInstallmentPlanRequest

Return type

\SplititSdkClient\Model\CreateInstallmentsPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanGet

\SplititSdkClient\Model\GetInstallmentsPlanResponse installmentPlanGet($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\GetInstallmentsPlanSearchCriteriaRequest(); // \SplititSdkClient\Model\GetInstallmentsPlanSearchCriteriaRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\GetInstallmentsPlanSearchCriteriaRequest

Return type

\SplititSdkClient\Model\GetInstallmentsPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanGet3DSecureParameters

\SplititSdkClient\Model\Get3DSecureParametersResponse installmentPlanGet3DSecureParameters($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\Get3DSecureParametersRequest(); // \SplititSdkClient\Model\Get3DSecureParametersRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\Get3DSecureParametersRequest

Return type

\SplititSdkClient\Model\Get3DSecureParametersResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanGetExtended

\SplititSdkClient\Model\GetInstallmentsPlanExtendedResponse installmentPlanGetExtended($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\GetInstallmentsPlanSearchCriteriaRequest(); // \SplititSdkClient\Model\GetInstallmentsPlanSearchCriteriaRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\GetInstallmentsPlanSearchCriteriaRequest

Return type

\SplititSdkClient\Model\GetInstallmentsPlanExtendedResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanGetFraudStatusDisplay

\SplititSdkClient\Model\GetFraudStatusDisplayResponse installmentPlanGetFraudStatusDisplay($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\GetFraudStatusDisplayRequest(); // \SplititSdkClient\Model\GetFraudStatusDisplayRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\GetFraudStatusDisplayRequest

Return type

\SplititSdkClient\Model\GetFraudStatusDisplayResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanGetInitiatedInstallmentPlanRequest

\SplititSdkClient\Model\GetInitiatedInstallmentPlanResponse installmentPlanGetInitiatedInstallmentPlanRequest($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\GetInitiatedInstallmentPlanRequest(); // \SplititSdkClient\Model\GetInitiatedInstallmentPlanRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\GetInitiatedInstallmentPlanRequest

Return type

\SplititSdkClient\Model\GetInitiatedInstallmentPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanGetInitiatedUpdatePaymentData

\SplititSdkClient\Model\GetInitiatedUpdatePaymentDataResponse installmentPlanGetInitiatedUpdatePaymentData()

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);


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

Parameters

This endpoint does not need any parameter.

Return type

\SplititSdkClient\Model\GetInitiatedUpdatePaymentDataResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

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

installmentPlanGetLearnMoreDetails

\SplititSdkClient\Model\LearnMoreDetailsResponse installmentPlanGetLearnMoreDetails($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\LearnMoreDetailsRequest(); // \SplititSdkClient\Model\LearnMoreDetailsRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\LearnMoreDetailsRequest

Return type

\SplititSdkClient\Model\LearnMoreDetailsResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanGetPGTL

\SplititSdkClient\Model\GetPGTLResponse installmentPlanGetPGTL($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\GetPGTLRequest(); // \SplititSdkClient\Model\GetPGTLRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\GetPGTLRequest

Return type

\SplititSdkClient\Model\GetPGTLResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanGetSchedules

\SplititSdkClient\Model\GetInstallmentsScheduleResponse installmentPlanGetSchedules($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\GetInstallmentSchedulesRequest(); // \SplititSdkClient\Model\GetInstallmentSchedulesRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\GetInstallmentSchedulesRequest

Return type

\SplititSdkClient\Model\GetInstallmentsScheduleResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanInitiate

\SplititSdkClient\Model\InitiateInstallmentsPlanResponse installmentPlanInitiate($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\InitiateInstallmentPlanRequest(); // \SplititSdkClient\Model\InitiateInstallmentPlanRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\InitiateInstallmentPlanRequest

Return type

\SplititSdkClient\Model\InitiateInstallmentsPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanRefund

\SplititSdkClient\Model\RefundInstallmentPlanResponse installmentPlanRefund($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\RefundPlanRequest(); // \SplititSdkClient\Model\RefundPlanRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\RefundPlanRequest

Return type

\SplititSdkClient\Model\RefundInstallmentPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanRequestPayment

\SplititSdkClient\Model\RequestPaymentResponse installmentPlanRequestPayment($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\RequestPaymentRequest(); // \SplititSdkClient\Model\RequestPaymentRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\RequestPaymentRequest

Return type

\SplititSdkClient\Model\RequestPaymentResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanStartInstallments

\SplititSdkClient\Model\InstallmentPlanResponse installmentPlanStartInstallments($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\StartInstallmentsRequest(); // \SplititSdkClient\Model\StartInstallmentsRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\StartInstallmentsRequest

Return type

\SplititSdkClient\Model\InstallmentPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanTermsAndConditions

\SplititSdkClient\Model\TermsAndConditionsGetResponse installmentPlanTermsAndConditions($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\TermsAndConditionsGetRequest(); // \SplititSdkClient\Model\TermsAndConditionsGetRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\TermsAndConditionsGetRequest

Return type

\SplititSdkClient\Model\TermsAndConditionsGetResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanTestCard

\SplititSdkClient\Model\InstallmentPlanResponse installmentPlanTestCard($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\TestCardRequest(); // \SplititSdkClient\Model\TestCardRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\TestCardRequest

Return type

\SplititSdkClient\Model\InstallmentPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanUpdate

\SplititSdkClient\Model\UpdateInstallmentsPlanResponse installmentPlanUpdate($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\UpdateInstallmentPlanRequest(); // \SplititSdkClient\Model\UpdateInstallmentPlanRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\UpdateInstallmentPlanRequest

Return type

\SplititSdkClient\Model\UpdateInstallmentsPlanResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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

installmentPlanVerifyPayment

\SplititSdkClient\Model\VerifyPaymentResponse installmentPlanVerifyPayment($request)

Example

<?php
require __DIR__ . '/vendor/autoload.php';

# Use Configuration::production() for production API
$apiInstance = new SplititSdkClient\Api\InstallmentPlanApi(
    Configuration::sandbox(),
    $session_id
);

$request = new \SplititSdkClient\Model\VerifyPaymentRequest(); // \SplititSdkClient\Model\VerifyPaymentRequest | 

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

Parameters

Name Type Description Notes
request \SplititSdkClient\Model\VerifyPaymentRequest

Return type

\SplititSdkClient\Model\VerifyPaymentResponse

Authorization

Use session_id received from LoginApi and pass it to InstallmentPlanApi constructor.

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: text/plain, application/json, text/json

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