paystarŲ§

_

apiCreatePost


/api/create

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/paystar/api/create"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

import java.io.File;
import java.util.*;

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Data data = ; // Data | 
        try {
            apiInstance.apiCreatePost(apiecoKey, data);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiCreatePost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Data data = ; // Data | 
        try {
            apiInstance.apiCreatePost(apiecoKey, data);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiCreatePost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Data *data = ; //  (optional)

_Api *apiInstance = [[_Api alloc] init];

[apiInstance apiCreatePostWith:apiecoKey
    data:data
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Paystar = require('paystar');

var api = new Paystar._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'data':  // {Data} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.apiCreatePost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiCreatePostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var data = new Data(); // Data |  (optional) 

            try
            {
                apiInstance.apiCreatePost(apiecoKey, data);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiCreatePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$data = ; // Data | 

try {
    $api_instance->apiCreatePost($apiecoKey, $data);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiCreatePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::_Api;

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $data = WWW::SwaggerClient::Object::Data->new(); # Data | 

eval { 
    $api_instance->apiCreatePost(apiecoKey => $apiecoKey, data => $data);
};
if ($@) {
    warn "Exception when calling _Api->apiCreatePost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
data =  # Data |  (optional)

try: 
    api_instance.api_create_post(apiecoKey, data=data)
except ApiException as e:
    print("Exception when calling _Api->apiCreatePost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
data

Responses

Status: 200 - ŲŒ ŲÆŲ±ŲµŁˆŲ±ŲŖŪŒ Ś©Ł‡ Ł…Ł‚Ų§ŲÆŪŒŲ± Ų±Ų§ ŲÆŲ±Ų³ŲŖ ŁˆŲ§Ų±ŲÆ Ś©Ų±ŲÆŁ‡ ŲØŲ§Ų“ŪŒŲÆ Ś©ŲÆ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŲÆŲ±ŪŒŲ§ŁŲŖ Ł…ŪŒŚ©Ł†ŪŒŲÆ.


apiVerifycardnumberPost


/api/verifycardnumber

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/paystar/api/verifycardnumber"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

import java.io.File;
import java.util.*;

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Data_1 data = ; // Data_1 | 
        try {
            inline_response_200 result = apiInstance.apiVerifycardnumberPost(apiecoKey, data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiVerifycardnumberPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Data_1 data = ; // Data_1 | 
        try {
            inline_response_200 result = apiInstance.apiVerifycardnumberPost(apiecoKey, data);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#apiVerifycardnumberPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
Data_1 *data = ; //  (optional)

_Api *apiInstance = [[_Api alloc] init];

[apiInstance apiVerifycardnumberPostWith:apiecoKey
    data:data
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Paystar = require('paystar');

var api = new Paystar._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var opts = { 
  'data':  // {Data_1} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.apiVerifycardnumberPost(apiecoKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class apiVerifycardnumberPostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var data = new Data_1(); // Data_1 |  (optional) 

            try
            {
                inline_response_200 result = apiInstance.apiVerifycardnumberPost(apiecoKey, data);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.apiVerifycardnumberPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$data = ; // Data_1 | 

try {
    $result = $api_instance->apiVerifycardnumberPost($apiecoKey, $data);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling _Api->apiVerifycardnumberPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::_Api;

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $data = WWW::SwaggerClient::Object::Data_1->new(); # Data_1 | 

eval { 
    my $result = $api_instance->apiVerifycardnumberPost(apiecoKey => $apiecoKey, data => $data);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling _Api->apiVerifycardnumberPost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
data =  # Data_1 |  (optional)

try: 
    api_response = api_instance.api_verifycardnumber_post(apiecoKey, data=data)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling _Api->apiVerifycardnumberPost: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Body parameters
Name Description
data

Responses

Status: 200 - ŲÆŲ± ŲµŁˆŲ±ŲŖ ŲØŲ±Ł†ŚÆŲ“ŲŖŁ† Ś©ŲÆ Ų®Ų·Ų§ ) Ų§Ų¹ŲÆŲ§ŲÆ Ł…Ł†ŁŪŒ ( Ų®Ų±ŁˆŲ¬ŪŒ ŲØŁ‡ ŁŲ±Ł…ŲŖ Ų¬ŪŒŲ³ŁˆŁ† (json (Łˆ ŲØŲµŁˆŲ±ŲŖ Ų²ŪŒŲ± Ų§Ų³ŲŖ:


payingTRANSIDPost


/paying/{TRANSID}

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/paystar/paying/{TRANSID}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api._Api;

import java.io.File;
import java.util.*;

public class _ApiExample {

    public static void main(String[] args) {
        
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String tRANSID = tRANSID_example; // String | ŲØŲ§ŪŒŲÆ Ų“Ł…Ų§Ų±Ł‡ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŁˆŲ§Ų±ŲÆ Ś©Ł†ŪŒŲÆ.
        try {
            apiInstance.payingTRANSIDPost(apiecoKey, tRANSID);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#payingTRANSIDPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api._Api;

public class _ApiExample {

    public static void main(String[] args) {
        _Api apiInstance = new _Api();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String tRANSID = tRANSID_example; // String | ŲØŲ§ŪŒŲÆ Ų“Ł…Ų§Ų±Ł‡ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŁˆŲ§Ų±ŲÆ Ś©Ł†ŪŒŲÆ.
        try {
            apiInstance.payingTRANSIDPost(apiecoKey, tRANSID);
        } catch (ApiException e) {
            System.err.println("Exception when calling _Api#payingTRANSIDPost");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *tRANSID = tRANSID_example; // ŲØŲ§ŪŒŲÆ Ų“Ł…Ų§Ų±Ł‡ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŁˆŲ§Ų±ŲÆ Ś©Ł†ŪŒŲÆ.

_Api *apiInstance = [[_Api alloc] init];

[apiInstance payingTRANSIDPostWith:apiecoKey
    tRANSID:tRANSID
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var Paystar = require('paystar');

var api = new Paystar._Api()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var tRANSID = tRANSID_example; // {String} ŲØŲ§ŪŒŲÆ Ų“Ł…Ų§Ų±Ł‡ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŁˆŲ§Ų±ŲÆ Ś©Ł†ŪŒŲÆ.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.payingTRANSIDPost(apiecoKey, tRANSID, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class payingTRANSIDPostExample
    {
        public void main()
        {
            
            var apiInstance = new _Api();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
            var tRANSID = tRANSID_example;  // String | ŲØŲ§ŪŒŲÆ Ų“Ł…Ų§Ų±Ł‡ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŁˆŲ§Ų±ŲÆ Ś©Ł†ŪŒŲÆ.

            try
            {
                apiInstance.payingTRANSIDPost(apiecoKey, tRANSID);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling _Api.payingTRANSIDPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\_Api();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$tRANSID = tRANSID_example; // String | ŲØŲ§ŪŒŲÆ Ų“Ł…Ų§Ų±Ł‡ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŁˆŲ§Ų±ŲÆ Ś©Ł†ŪŒŲÆ.

try {
    $api_instance->payingTRANSIDPost($apiecoKey, $tRANSID);
} catch (Exception $e) {
    echo 'Exception when calling _Api->payingTRANSIDPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::_Api;

my $api_instance = WWW::SwaggerClient::_Api->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $tRANSID = tRANSID_example; # String | ŲØŲ§ŪŒŲÆ Ų“Ł…Ų§Ų±Ł‡ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŁˆŲ§Ų±ŲÆ Ś©Ł†ŪŒŲÆ.

eval { 
    $api_instance->payingTRANSIDPost(apiecoKey => $apiecoKey, tRANSID => $tRANSID);
};
if ($@) {
    warn "Exception when calling _Api->payingTRANSIDPost: $@\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._Api()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
tRANSID = tRANSID_example # String | ŲØŲ§ŪŒŲÆ Ų“Ł…Ų§Ų±Ł‡ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŁˆŲ§Ų±ŲÆ Ś©Ł†ŪŒŲÆ.

try: 
    api_instance.paying_transid_post(apiecoKey, tRANSID)
except ApiException as e:
    print("Exception when calling _Api->payingTRANSIDPost: %s\n" % e)

Parameters

Path parameters
Name Description
TRANSID*
String
ŲØŲ§ŪŒŲÆ Ų“Ł…Ų§Ų±Ł‡ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŁˆŲ§Ų±ŲÆ Ś©Ł†ŪŒŲÆ.
Required
Header parameters
Name Description
apieco-key*
String
apikey for use API
Required

Responses

Status: 200 - ŲŒ ŲÆŲ±ŲµŁˆŲ±ŲŖŪŒ Ś©Ł‡ Ł…Ł‚Ų§ŲÆŪŒŲ± Ų±Ų§ ŲÆŲ±Ų³ŲŖ ŁˆŲ§Ų±ŲÆ Ś©Ų±ŲÆŁ‡ ŲØŲ§Ų“ŪŒŲÆ Ś©ŲÆ ŲŖŲ±Ų§Ś©Ł†Ų“ Ų±Ų§ ŲÆŲ±ŪŒŲ§ŁŲŖ Ł…ŪŒŚ©Ł†ŪŒŲÆ.