app\Http\Controllers\Business\ExtendedPayTransactionControllerShow
Check status of an extended payment transaction
/api/business/extended-pay/{transaction_id}
Usage and SDK Samples
curl -X GET "https://api.apieco.ir/jibimo/api/business/extended-pay/{transaction_id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
String authorization = authorization_example; // String | Access token which must be started with `Bearer ` plus a space and access token. e.g. `Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni...`
Integer transactionId = 56; // Integer | Transaction ID
String accept = accept_example; // String | Type of response which you want to get from server.
try {
apiInstance.app\Http\Controllers\Business\ExtendedPayTransactionControllerShow(authorization, transactionId, accept);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#app\Http\Controllers\Business\ExtendedPayTransactionControllerShow");
e.printStackTrace();
}
}
}
import io.swagger.client.api.DefaultApi;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
String authorization = authorization_example; // String | Access token which must be started with `Bearer ` plus a space and access token. e.g. `Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni...`
Integer transactionId = 56; // Integer | Transaction ID
String accept = accept_example; // String | Type of response which you want to get from server.
try {
apiInstance.app\Http\Controllers\Business\ExtendedPayTransactionControllerShow(authorization, transactionId, accept);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#app\Http\Controllers\Business\ExtendedPayTransactionControllerShow");
e.printStackTrace();
}
}
}
String *authorization = authorization_example; // Access token which must be started with `Bearer ` plus a space and access token. e.g. `Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni...`
Integer *transactionId = 56; // Transaction ID
String *accept = accept_example; // Type of response which you want to get from server. (optional)
DefaultApi *apiInstance = [[DefaultApi alloc] init];
// Check status of an extended payment transaction
[apiInstance app\Http\Controllers\Business\ExtendedPayTransactionControllerShowWith:authorization
transactionId:transactionId
accept:accept
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var JibimoForBusinessApIs = require('jibimo_for_business_ap_is');
var api = new JibimoForBusinessApIs.DefaultApi()
var authorization = authorization_example; // {{String}} Access token which must be started with `Bearer ` plus a space and access token. e.g. `Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni...`
var transactionId = 56; // {{Integer}} Transaction ID
var opts = {
'accept': accept_example // {{String}} Type of response which you want to get from server.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.app\Http\Controllers\Business\ExtendedPayTransactionControllerShow(authorization, transactionId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class app\Http\Controllers\Business\ExtendedPayTransactionControllerShowExample
{
public void main()
{
var apiInstance = new DefaultApi();
var authorization = authorization_example; // String | Access token which must be started with `Bearer ` plus a space and access token. e.g. `Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni...`
var transactionId = 56; // Integer | Transaction ID
var accept = accept_example; // String | Type of response which you want to get from server. (optional)
try
{
// Check status of an extended payment transaction
apiInstance.app\Http\Controllers\Business\ExtendedPayTransactionControllerShow(authorization, transactionId, accept);
}
catch (Exception e)
{
Debug.Print("Exception when calling DefaultApi.app\Http\Controllers\Business\ExtendedPayTransactionControllerShow: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiDefaultApi();
$authorization = authorization_example; // String | Access token which must be started with `Bearer ` plus a space and access token. e.g. `Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni...`
$transactionId = 56; // Integer | Transaction ID
$accept = accept_example; // String | Type of response which you want to get from server.
try {
$api_instance->app\Http\Controllers\Business\ExtendedPayTransactionControllerShow($authorization, $transactionId, $accept);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->app\Http\Controllers\Business\ExtendedPayTransactionControllerShow: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DefaultApi;
my $api_instance = WWW::SwaggerClient::DefaultApi->new();
my $authorization = authorization_example; # String | Access token which must be started with `Bearer ` plus a space and access token. e.g. `Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni...`
my $transactionId = 56; # Integer | Transaction ID
my $accept = accept_example; # String | Type of response which you want to get from server.
eval {
$api_instance->app\Http\Controllers\Business\ExtendedPayTransactionControllerShow(authorization => $authorization, transactionId => $transactionId, accept => $accept);
};
if ($@) {
warn "Exception when calling DefaultApi->app\Http\Controllers\Business\ExtendedPayTransactionControllerShow: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.DefaultApi()
authorization = authorization_example # String | Access token which must be started with `Bearer ` plus a space and access token. e.g. `Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni...`
transactionId = 56 # Integer | Transaction ID
accept = accept_example # String | Type of response which you want to get from server. (optional)
try:
# Check status of an extended payment transaction
api_instance.app\http\controllers\business\extended_pay_transaction_controller_show(authorization, transactionId, accept=accept)
except ApiException as e:
print("Exception when calling DefaultApi->app\Http\Controllers\Business\ExtendedPayTransactionControllerShow: %s\n" % e)
Parameters
Name | Description |
---|---|
transaction_id* |
Integer
Transaction ID
Required
|
Name | Description |
---|---|
Authorization* | |
Accept |
String
Type of response which you want to get from server.
|