yourCallBackURLGet
مرحله سوم : بازگشت به سایت پذیرنده
/{Your-CallBack-URL}
Usage and SDK Samples
curl -X GET "https://api.apieco.ir/pay-ir/{Your-CallBack-URL}?status=&token="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CallbackApi;
import java.io.File;
import java.util.*;
public class CallbackApiExample {
public static void main(String[] args) {
CallbackApi apiInstance = new CallbackApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String yourCallBackURL = yourCallBackURL_example; // String | The only supported `index` is `cedarmaps.streets`
String point = point_example; // String | point format is lat,lon
String status = status_example; // String | transaction_status
String token = token_example; // String | token
try {
apiInstance.yourCallBackURLGet(apiecoKey, yourCallBackURL, point, status, token);
} catch (ApiException e) {
System.err.println("Exception when calling CallbackApi#yourCallBackURLGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.CallbackApi;
public class CallbackApiExample {
public static void main(String[] args) {
CallbackApi apiInstance = new CallbackApi();
String apiecoKey = apiecoKey_example; // String | apikey for use API
String yourCallBackURL = yourCallBackURL_example; // String | The only supported `index` is `cedarmaps.streets`
String point = point_example; // String | point format is lat,lon
String status = status_example; // String | transaction_status
String token = token_example; // String | token
try {
apiInstance.yourCallBackURLGet(apiecoKey, yourCallBackURL, point, status, token);
} catch (ApiException e) {
System.err.println("Exception when calling CallbackApi#yourCallBackURLGet");
e.printStackTrace();
}
}
}
String *apiecoKey = apiecoKey_example; // apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
String *yourCallBackURL = yourCallBackURL_example; // The only supported `index` is `cedarmaps.streets`
String *point = point_example; // point format is lat,lon
String *status = status_example; // transaction_status
String *token = token_example; // token
CallbackApi *apiInstance = [[CallbackApi alloc] init];
// مرحله سوم : بازگشت به سایت پذیرنده
[apiInstance yourCallBackURLGetWith:apiecoKey
yourCallBackURL:yourCallBackURL
point:point
status:status
token:token
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var Payir = require('payir');
var api = new Payir.CallbackApi()
var apiecoKey = apiecoKey_example; // {String} apikey for use API
var yourCallBackURL = yourCallBackURL_example; // {String} The only supported `index` is `cedarmaps.streets`
var point = point_example; // {String} point format is lat,lon
var status = status_example; // {String} transaction_status
var token = token_example; // {String} token
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.yourCallBackURLGet(apiecoKey, yourCallBackURL, point, status, token, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class yourCallBackURLGetExample
{
public void main()
{
var apiInstance = new CallbackApi();
var apiecoKey = apiecoKey_example; // String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
var yourCallBackURL = yourCallBackURL_example; // String | The only supported `index` is `cedarmaps.streets`
var point = point_example; // String | point format is lat,lon
var status = status_example; // String | transaction_status
var token = token_example; // String | token
try
{
// مرحله سوم : بازگشت به سایت پذیرنده
apiInstance.yourCallBackURLGet(apiecoKey, yourCallBackURL, point, status, token);
}
catch (Exception e)
{
Debug.Print("Exception when calling CallbackApi.yourCallBackURLGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\CallbackApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$yourCallBackURL = yourCallBackURL_example; // String | The only supported `index` is `cedarmaps.streets`
$point = point_example; // String | point format is lat,lon
$status = status_example; // String | transaction_status
$token = token_example; // String | token
try {
$api_instance->yourCallBackURLGet($apiecoKey, $yourCallBackURL, $point, $status, $token);
} catch (Exception $e) {
echo 'Exception when calling CallbackApi->yourCallBackURLGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CallbackApi;
my $api_instance = WWW::SwaggerClient::CallbackApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $yourCallBackURL = yourCallBackURL_example; # String | The only supported `index` is `cedarmaps.streets`
my $point = point_example; # String | point format is lat,lon
my $status = status_example; # String | transaction_status
my $token = token_example; # String | token
eval {
$api_instance->yourCallBackURLGet(apiecoKey => $apiecoKey, yourCallBackURL => $yourCallBackURL, point => $point, status => $status, token => $token);
};
if ($@) {
warn "Exception when calling CallbackApi->yourCallBackURLGet: $@\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.CallbackApi()
apiecoKey = apiecoKey_example # String | apikey for use API (default to WsLdHK46I5Wfr5xgI0ynjjyiw9Fyhydu)
yourCallBackURL = yourCallBackURL_example # String | The only supported `index` is `cedarmaps.streets`
point = point_example # String | point format is lat,lon
status = status_example # String | transaction_status
token = token_example # String | token
try:
# مرحله سوم : بازگشت به سایت پذیرنده
api_instance.your_call_back_url_get(apiecoKey, yourCallBackURL, point, status, token)
except ApiException as e:
print("Exception when calling CallbackApi->yourCallBackURLGet: %s\n" % e)
Parameters
Path parameters
Name | Description |
---|---|
Your-CallBack-URL* |
String
The only supported `index` is `cedarmaps.streets`
Required
|
point* |
String
point format is lat,lon
Required
|
Header parameters
Name | Description |
---|---|
apieco-key* |
String
apikey for use API
Required
|
Query parameters
Name | Description |
---|---|
status* |
String
transaction_status
Required
|
token* |
String
token
Required
|