Wallet BFF API

Campaigns

joinCampaign

Join Campaign

Enable wallet to join specific campaign


/oderowallet/v1/campaigns/join

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/campaigns/join"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CampaignsApi;

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

public class CampaignsApiExample {

    public static void main(String[] args) {
        
        CampaignsApi apiInstance = new CampaignsApi();
        JoinCampaignRestRequest body = ; // JoinCampaignRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseJoinCampaignRestResponse result = apiInstance.joinCampaign(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignsApi#joinCampaign");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CampaignsApi;

public class CampaignsApiExample {

    public static void main(String[] args) {
        CampaignsApi apiInstance = new CampaignsApi();
        JoinCampaignRestRequest body = ; // JoinCampaignRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseJoinCampaignRestResponse result = apiInstance.joinCampaign(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignsApi#joinCampaign");
            e.printStackTrace();
        }
    }
}
JoinCampaignRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Join Campaign
[apiInstance joinCampaignWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseJoinCampaignRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CampaignsApi()
var body = ; // {{JoinCampaignRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.joinCampaign(bodyxWalletNumberxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class joinCampaignExample
    {
        public void main()
        {

            var apiInstance = new CampaignsApi();
            var body = new JoinCampaignRestRequest(); // JoinCampaignRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Join Campaign
                ResponseJoinCampaignRestResponse result = apiInstance.joinCampaign(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CampaignsApi.joinCampaign: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCampaignsApi();
$body = ; // JoinCampaignRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->joinCampaign($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CampaignsApi->joinCampaign: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CampaignsApi;

my $api_instance = WWW::SwaggerClient::CampaignsApi->new();
my $body = WWW::SwaggerClient::Object::JoinCampaignRestRequest->new(); # JoinCampaignRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->joinCampaign(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CampaignsApi->joinCampaign: $@\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.CampaignsApi()
body =  # JoinCampaignRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Join Campaign
    api_response = api_instance.join_campaign(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CampaignsApi->joinCampaign: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryCampaigns

Query Campaigns

Query campaigns for specific wallet number


/oderowallet/v1/campaigns

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/campaigns"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CampaignsApi;

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

public class CampaignsApiExample {

    public static void main(String[] args) {
        
        CampaignsApi apiInstance = new CampaignsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryCampaignsRestResponse result = apiInstance.queryCampaigns(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignsApi#queryCampaigns");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CampaignsApi;

public class CampaignsApiExample {

    public static void main(String[] args) {
        CampaignsApi apiInstance = new CampaignsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryCampaignsRestResponse result = apiInstance.queryCampaigns(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignsApi#queryCampaigns");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Campaigns
[apiInstance queryCampaignsWith:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseQueryCampaignsRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CampaignsApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryCampaigns(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryCampaignsExample
    {
        public void main()
        {

            var apiInstance = new CampaignsApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Campaigns
                ResponseQueryCampaignsRestResponse result = apiInstance.queryCampaigns(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CampaignsApi.queryCampaigns: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCampaignsApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryCampaigns($xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CampaignsApi->queryCampaigns: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CampaignsApi;

my $api_instance = WWW::SwaggerClient::CampaignsApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryCampaigns(xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CampaignsApi->queryCampaigns: $@\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.CampaignsApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Campaigns
    api_response = api_instance.query_campaigns(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CampaignsApi->queryCampaigns: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


Cards

retrieveCard

Query Card

Query card by cardId


/oderowallet/v1/cards/{cardId}

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/cards/{cardId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CardsApi;

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

public class CardsApiExample {

    public static void main(String[] args) {
        
        CardsApi apiInstance = new CardsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        Long cardId = 789; // Long | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseCardRestResponse result = apiInstance.retrieveCard(xWalletNumber, cardId, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#retrieveCard");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CardsApi;

public class CardsApiExample {

    public static void main(String[] args) {
        CardsApi apiInstance = new CardsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        Long cardId = 789; // Long | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseCardRestResponse result = apiInstance.retrieveCard(xWalletNumber, cardId, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#retrieveCard");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
Long *cardId = 789; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature

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

// Query Card
[apiInstance retrieveCardWith:xWalletNumber
    cardId:cardId
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
              completionHandler: ^(ResponseCardRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CardsApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var cardId = 789; // {{Long}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveCard(xWalletNumber, cardId, xApiKey, xAuthVersion, xRndKey, xSignature, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class retrieveCardExample
    {
        public void main()
        {

            var apiInstance = new CardsApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var cardId = 789;  // Long | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature

            try
            {
                // Query Card
                ResponseCardRestResponse result = apiInstance.retrieveCard(xWalletNumber, cardId, xApiKey, xAuthVersion, xRndKey, xSignature);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CardsApi.retrieveCard: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCardsApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$cardId = 789; // Long | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature

try {
    $result = $api_instance->retrieveCard($xWalletNumber, $cardId, $xApiKey, $xAuthVersion, $xRndKey, $xSignature);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CardsApi->retrieveCard: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CardsApi;

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $cardId = 789; # Long | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature

eval { 
    my $result = $api_instance->retrieveCard(xWalletNumber => $xWalletNumber, cardId => $cardId, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CardsApi->retrieveCard: $@\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.CardsApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
cardId = 789 # Long | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature

try: 
    # Query Card
    api_response = api_instance.retrieve_card(xWalletNumber, cardId, xApiKey, xAuthVersion, xRndKey, xSignature)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CardsApi->retrieveCard: %s\n" % e)

Parameters

Path parameters
Name Description
cardId*
Long (int64)
Required
Header parameters
Name Description
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


searchCards

Search Cards

Searches cards for wallet


/oderowallet/v1/cards

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/cards?request="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CardsApi;

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

public class CardsApiExample {

    public static void main(String[] args) {
        
        CardsApi apiInstance = new CardsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        SearchCardsRestRequest request = ; // SearchCardsRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseSearchCardsRestResponse result = apiInstance.searchCards(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#searchCards");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CardsApi;

public class CardsApiExample {

    public static void main(String[] args) {
        CardsApi apiInstance = new CardsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        SearchCardsRestRequest request = ; // SearchCardsRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseSearchCardsRestResponse result = apiInstance.searchCards(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CardsApi#searchCards");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
SearchCardsRestRequest *request = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature

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

// Search Cards
[apiInstance searchCardsWith:xWalletNumber
    request:request
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
              completionHandler: ^(ResponseSearchCardsRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CardsApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var request = ; // {{SearchCardsRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.searchCards(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class searchCardsExample
    {
        public void main()
        {

            var apiInstance = new CardsApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var request = new SearchCardsRestRequest(); // SearchCardsRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature

            try
            {
                // Search Cards
                ResponseSearchCardsRestResponse result = apiInstance.searchCards(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CardsApi.searchCards: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCardsApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$request = ; // SearchCardsRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature

try {
    $result = $api_instance->searchCards($xWalletNumber, $request, $xApiKey, $xAuthVersion, $xRndKey, $xSignature);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CardsApi->searchCards: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CardsApi;

my $api_instance = WWW::SwaggerClient::CardsApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $request = ; # SearchCardsRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature

eval { 
    my $result = $api_instance->searchCards(xWalletNumber => $xWalletNumber, request => $request, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CardsApi->searchCards: $@\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.CardsApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
request =  # SearchCardsRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature

try: 
    # Search Cards
    api_response = api_instance.search_cards(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CardsApi->searchCards: %s\n" % e)

Parameters

Header parameters
Name Description
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Query parameters
Name Description
request*
SearchCardsRestRequest
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


CustomerOnboarding

approveCustomerWallet

Upgrade Wallet to Digital

Upgrades wallet to digital level


/oderowallet/v1/onboarding/approve

Usage and SDK Samples

curl -X PUT\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/onboarding/approve"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerOnboardingApi;

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

public class CustomerOnboardingApiExample {

    public static void main(String[] args) {
        
        CustomerOnboardingApi apiInstance = new CustomerOnboardingApi();
        ApproveCustomerWalletRestRequest body = ; // ApproveCustomerWalletRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseVoid result = apiInstance.approveCustomerWallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerOnboardingApi#approveCustomerWallet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerOnboardingApi;

public class CustomerOnboardingApiExample {

    public static void main(String[] args) {
        CustomerOnboardingApi apiInstance = new CustomerOnboardingApi();
        ApproveCustomerWalletRestRequest body = ; // ApproveCustomerWalletRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseVoid result = apiInstance.approveCustomerWallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerOnboardingApi#approveCustomerWallet");
            e.printStackTrace();
        }
    }
}
ApproveCustomerWalletRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature

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

// Upgrade Wallet to Digital
[apiInstance approveCustomerWalletWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
              completionHandler: ^(ResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CustomerOnboardingApi()
var body = ; // {{ApproveCustomerWalletRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature

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

namespace Example
{
    public class approveCustomerWalletExample
    {
        public void main()
        {

            var apiInstance = new CustomerOnboardingApi();
            var body = new ApproveCustomerWalletRestRequest(); // ApproveCustomerWalletRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature

            try
            {
                // Upgrade Wallet to Digital
                ResponseVoid result = apiInstance.approveCustomerWallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerOnboardingApi.approveCustomerWallet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCustomerOnboardingApi();
$body = ; // ApproveCustomerWalletRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature

try {
    $result = $api_instance->approveCustomerWallet($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerOnboardingApi->approveCustomerWallet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomerOnboardingApi;

my $api_instance = WWW::SwaggerClient::CustomerOnboardingApi->new();
my $body = WWW::SwaggerClient::Object::ApproveCustomerWalletRestRequest->new(); # ApproveCustomerWalletRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature

eval { 
    my $result = $api_instance->approveCustomerWallet(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomerOnboardingApi->approveCustomerWallet: $@\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.CustomerOnboardingApi()
body =  # ApproveCustomerWalletRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature

try: 
    # Upgrade Wallet to Digital
    api_response = api_instance.approve_customer_wallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomerOnboardingApi->approveCustomerWallet: %s\n" % e)

Parameters

Header parameters
Name Description
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


createAnonymousWallet

Create Anonymous Wallet

Creates anonymous level wallet


/oderowallet/v1/onboarding/anonymous

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/onboarding/anonymous"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerOnboardingApi;

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

public class CustomerOnboardingApiExample {

    public static void main(String[] args) {
        
        CustomerOnboardingApi apiInstance = new CustomerOnboardingApi();
        CreateAnonymousWalletRestRequest body = ; // CreateAnonymousWalletRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseCreateAnonymousWalletRestResponse result = apiInstance.createAnonymousWallet(body, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerOnboardingApi#createAnonymousWallet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerOnboardingApi;

public class CustomerOnboardingApiExample {

    public static void main(String[] args) {
        CustomerOnboardingApi apiInstance = new CustomerOnboardingApi();
        CreateAnonymousWalletRestRequest body = ; // CreateAnonymousWalletRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseCreateAnonymousWalletRestResponse result = apiInstance.createAnonymousWallet(body, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerOnboardingApi#createAnonymousWallet");
            e.printStackTrace();
        }
    }
}
CreateAnonymousWalletRestRequest *body = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature

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

// Create Anonymous Wallet
[apiInstance createAnonymousWalletWith:body
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
              completionHandler: ^(ResponseCreateAnonymousWalletRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CustomerOnboardingApi()
var body = ; // {{CreateAnonymousWalletRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature

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

namespace Example
{
    public class createAnonymousWalletExample
    {
        public void main()
        {

            var apiInstance = new CustomerOnboardingApi();
            var body = new CreateAnonymousWalletRestRequest(); // CreateAnonymousWalletRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature

            try
            {
                // Create Anonymous Wallet
                ResponseCreateAnonymousWalletRestResponse result = apiInstance.createAnonymousWallet(body, xApiKey, xAuthVersion, xRndKey, xSignature);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerOnboardingApi.createAnonymousWallet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCustomerOnboardingApi();
$body = ; // CreateAnonymousWalletRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature

try {
    $result = $api_instance->createAnonymousWallet($body, $xApiKey, $xAuthVersion, $xRndKey, $xSignature);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerOnboardingApi->createAnonymousWallet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomerOnboardingApi;

my $api_instance = WWW::SwaggerClient::CustomerOnboardingApi->new();
my $body = WWW::SwaggerClient::Object::CreateAnonymousWalletRestRequest->new(); # CreateAnonymousWalletRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature

eval { 
    my $result = $api_instance->createAnonymousWallet(body => $body, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomerOnboardingApi->createAnonymousWallet: $@\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.CustomerOnboardingApi()
body =  # CreateAnonymousWalletRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature

try: 
    # Create Anonymous Wallet
    api_response = api_instance.create_anonymous_wallet(body, xApiKey, xAuthVersion, xRndKey, xSignature)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomerOnboardingApi->createAnonymousWallet: %s\n" % e)

Parameters

Header parameters
Name Description
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


createCustomerWallet

Create Customer for Anonymous Wallet

Creates customer for anonymous level wallet


/oderowallet/v1/onboarding/customer

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/onboarding/customer"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerOnboardingApi;

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

public class CustomerOnboardingApiExample {

    public static void main(String[] args) {
        
        CustomerOnboardingApi apiInstance = new CustomerOnboardingApi();
        CreateCustomerWalletRestRequest body = ; // CreateCustomerWalletRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseVoid result = apiInstance.createCustomerWallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerOnboardingApi#createCustomerWallet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerOnboardingApi;

public class CustomerOnboardingApiExample {

    public static void main(String[] args) {
        CustomerOnboardingApi apiInstance = new CustomerOnboardingApi();
        CreateCustomerWalletRestRequest body = ; // CreateCustomerWalletRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseVoid result = apiInstance.createCustomerWallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerOnboardingApi#createCustomerWallet");
            e.printStackTrace();
        }
    }
}
CreateCustomerWalletRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature

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

// Create Customer for Anonymous Wallet
[apiInstance createCustomerWalletWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
              completionHandler: ^(ResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CustomerOnboardingApi()
var body = ; // {{CreateCustomerWalletRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature

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

namespace Example
{
    public class createCustomerWalletExample
    {
        public void main()
        {

            var apiInstance = new CustomerOnboardingApi();
            var body = new CreateCustomerWalletRestRequest(); // CreateCustomerWalletRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature

            try
            {
                // Create Customer for Anonymous Wallet
                ResponseVoid result = apiInstance.createCustomerWallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerOnboardingApi.createCustomerWallet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCustomerOnboardingApi();
$body = ; // CreateCustomerWalletRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature

try {
    $result = $api_instance->createCustomerWallet($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerOnboardingApi->createCustomerWallet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomerOnboardingApi;

my $api_instance = WWW::SwaggerClient::CustomerOnboardingApi->new();
my $body = WWW::SwaggerClient::Object::CreateCustomerWalletRestRequest->new(); # CreateCustomerWalletRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature

eval { 
    my $result = $api_instance->createCustomerWallet(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomerOnboardingApi->createCustomerWallet: $@\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.CustomerOnboardingApi()
body =  # CreateCustomerWalletRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature

try: 
    # Create Customer for Anonymous Wallet
    api_response = api_instance.create_customer_wallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomerOnboardingApi->createCustomerWallet: %s\n" % e)

Parameters

Header parameters
Name Description
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


createPersoWallet

Create Perso Wallet

Creates perso level wallet


/oderowallet/v1/onboarding/perso

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/onboarding/perso"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerOnboardingApi;

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

public class CustomerOnboardingApiExample {

    public static void main(String[] args) {
        
        CustomerOnboardingApi apiInstance = new CustomerOnboardingApi();
        CreatePersoWalletRestRequest body = ; // CreatePersoWalletRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseCreatePersoWalletRestResponse result = apiInstance.createPersoWallet(body, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerOnboardingApi#createPersoWallet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerOnboardingApi;

public class CustomerOnboardingApiExample {

    public static void main(String[] args) {
        CustomerOnboardingApi apiInstance = new CustomerOnboardingApi();
        CreatePersoWalletRestRequest body = ; // CreatePersoWalletRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseCreatePersoWalletRestResponse result = apiInstance.createPersoWallet(body, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerOnboardingApi#createPersoWallet");
            e.printStackTrace();
        }
    }
}
CreatePersoWalletRestRequest *body = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature

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

// Create Perso Wallet
[apiInstance createPersoWalletWith:body
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
              completionHandler: ^(ResponseCreatePersoWalletRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CustomerOnboardingApi()
var body = ; // {{CreatePersoWalletRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature

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

namespace Example
{
    public class createPersoWalletExample
    {
        public void main()
        {

            var apiInstance = new CustomerOnboardingApi();
            var body = new CreatePersoWalletRestRequest(); // CreatePersoWalletRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature

            try
            {
                // Create Perso Wallet
                ResponseCreatePersoWalletRestResponse result = apiInstance.createPersoWallet(body, xApiKey, xAuthVersion, xRndKey, xSignature);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerOnboardingApi.createPersoWallet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCustomerOnboardingApi();
$body = ; // CreatePersoWalletRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature

try {
    $result = $api_instance->createPersoWallet($body, $xApiKey, $xAuthVersion, $xRndKey, $xSignature);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerOnboardingApi->createPersoWallet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomerOnboardingApi;

my $api_instance = WWW::SwaggerClient::CustomerOnboardingApi->new();
my $body = WWW::SwaggerClient::Object::CreatePersoWalletRestRequest->new(); # CreatePersoWalletRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature

eval { 
    my $result = $api_instance->createPersoWallet(body => $body, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomerOnboardingApi->createPersoWallet: $@\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.CustomerOnboardingApi()
body =  # CreatePersoWalletRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature

try: 
    # Create Perso Wallet
    api_response = api_instance.create_perso_wallet(body, xApiKey, xAuthVersion, xRndKey, xSignature)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomerOnboardingApi->createPersoWallet: %s\n" % e)

Parameters

Header parameters
Name Description
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


upgradeWalletToPerso

Upgrade Wallet to Perso

Upgrades wallet to perso level


/oderowallet/v1/onboarding/perso

Usage and SDK Samples

curl -X PUT\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/onboarding/perso"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomerOnboardingApi;

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

public class CustomerOnboardingApiExample {

    public static void main(String[] args) {
        
        CustomerOnboardingApi apiInstance = new CustomerOnboardingApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseVoid result = apiInstance.upgradeWalletToPerso(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerOnboardingApi#upgradeWalletToPerso");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomerOnboardingApi;

public class CustomerOnboardingApiExample {

    public static void main(String[] args) {
        CustomerOnboardingApi apiInstance = new CustomerOnboardingApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseVoid result = apiInstance.upgradeWalletToPerso(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomerOnboardingApi#upgradeWalletToPerso");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature

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

// Upgrade Wallet to Perso
[apiInstance upgradeWalletToPersoWith:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
              completionHandler: ^(ResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CustomerOnboardingApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.upgradeWalletToPerso(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class upgradeWalletToPersoExample
    {
        public void main()
        {

            var apiInstance = new CustomerOnboardingApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature

            try
            {
                // Upgrade Wallet to Perso
                ResponseVoid result = apiInstance.upgradeWalletToPerso(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomerOnboardingApi.upgradeWalletToPerso: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCustomerOnboardingApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature

try {
    $result = $api_instance->upgradeWalletToPerso($xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomerOnboardingApi->upgradeWalletToPerso: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomerOnboardingApi;

my $api_instance = WWW::SwaggerClient::CustomerOnboardingApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature

eval { 
    my $result = $api_instance->upgradeWalletToPerso(xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomerOnboardingApi->upgradeWalletToPerso: $@\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.CustomerOnboardingApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature

try: 
    # Upgrade Wallet to Perso
    api_response = api_instance.upgrade_wallet_to_perso(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomerOnboardingApi->upgradeWalletToPerso: %s\n" % e)

Parameters

Header parameters
Name Description
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


Customers

approveAgreements

Approve Customer Agreements

Approves customer agreements


/oderowallet/v1/customers/approve-agreements

Usage and SDK Samples

curl -X PUT\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/customers/approve-agreements"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        ApproveAgreementsRestRequest body = ; // ApproveAgreementsRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseVoid result = apiInstance.approveAgreements(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#approveAgreements");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        ApproveAgreementsRestRequest body = ; // ApproveAgreementsRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseVoid result = apiInstance.approveAgreements(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#approveAgreements");
            e.printStackTrace();
        }
    }
}
ApproveAgreementsRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature

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

// Approve Customer Agreements
[apiInstance approveAgreementsWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
              completionHandler: ^(ResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CustomersApi()
var body = ; // {{ApproveAgreementsRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature

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

namespace Example
{
    public class approveAgreementsExample
    {
        public void main()
        {

            var apiInstance = new CustomersApi();
            var body = new ApproveAgreementsRestRequest(); // ApproveAgreementsRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature

            try
            {
                // Approve Customer Agreements
                ResponseVoid result = apiInstance.approveAgreements(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.approveAgreements: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCustomersApi();
$body = ; // ApproveAgreementsRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature

try {
    $result = $api_instance->approveAgreements($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomersApi->approveAgreements: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomersApi;

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $body = WWW::SwaggerClient::Object::ApproveAgreementsRestRequest->new(); # ApproveAgreementsRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature

eval { 
    my $result = $api_instance->approveAgreements(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->approveAgreements: $@\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.CustomersApi()
body =  # ApproveAgreementsRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature

try: 
    # Approve Customer Agreements
    api_response = api_instance.approve_agreements(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->approveAgreements: %s\n" % e)

Parameters

Header parameters
Name Description
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryNotApprovedAgreements

Query Not Approved Agreements

Query not approved agreements


/oderowallet/v1/customers/not-approved-agreements

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/customers/not-approved-agreements"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseNotApprovedAgreementsRestResponse result = apiInstance.queryNotApprovedAgreements(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#queryNotApprovedAgreements");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseNotApprovedAgreementsRestResponse result = apiInstance.queryNotApprovedAgreements(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#queryNotApprovedAgreements");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Not Approved Agreements
[apiInstance queryNotApprovedAgreementsWith:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseNotApprovedAgreementsRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CustomersApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryNotApprovedAgreements(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryNotApprovedAgreementsExample
    {
        public void main()
        {

            var apiInstance = new CustomersApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Not Approved Agreements
                ResponseNotApprovedAgreementsRestResponse result = apiInstance.queryNotApprovedAgreements(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.queryNotApprovedAgreements: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCustomersApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryNotApprovedAgreements($xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomersApi->queryNotApprovedAgreements: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomersApi;

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryNotApprovedAgreements(xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->queryNotApprovedAgreements: $@\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.CustomersApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Not Approved Agreements
    api_response = api_instance.query_not_approved_agreements(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->queryNotApprovedAgreements: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryWallet

Query Wallet

Query wallet by wallet number or msisdn


/oderowallet/v1/customers/wallets

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/customers/wallets"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        String xMsisdn = xMsisdn_example; // String | Wallet GSM Number
        try {
            ResponseQueryWalletRestResponse result = apiInstance.queryWallet(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken, xMsisdn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#queryWallet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        String xMsisdn = xMsisdn_example; // String | Wallet GSM Number
        try {
            ResponseQueryWalletRestResponse result = apiInstance.queryWallet(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken, xMsisdn);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#queryWallet");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)
String *xMsisdn = xMsisdn_example; // Wallet GSM Number (optional)

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

// Query Wallet
[apiInstance queryWalletWith:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
    xMsisdn:xMsisdn
              completionHandler: ^(ResponseQueryWalletRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CustomersApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example, // {{String}} Access Token
  'xMsisdn': xMsisdn_example // {{String}} Wallet GSM Number
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryWallet(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryWalletExample
    {
        public void main()
        {

            var apiInstance = new CustomersApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 
            var xMsisdn = xMsisdn_example;  // String | Wallet GSM Number (optional) 

            try
            {
                // Query Wallet
                ResponseQueryWalletRestResponse result = apiInstance.queryWallet(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken, xMsisdn);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.queryWallet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCustomersApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token
$xMsisdn = xMsisdn_example; // String | Wallet GSM Number

try {
    $result = $api_instance->queryWallet($xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken, $xMsisdn);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomersApi->queryWallet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomersApi;

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token
my $xMsisdn = xMsisdn_example; # String | Wallet GSM Number

eval { 
    my $result = $api_instance->queryWallet(xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken, xMsisdn => $xMsisdn);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->queryWallet: $@\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.CustomersApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)
xMsisdn = xMsisdn_example # String | Wallet GSM Number (optional)

try: 
    # Query Wallet
    api_response = api_instance.query_wallet(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken, xMsisdn=xMsisdn)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->queryWallet: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-msisdn
String
Wallet GSM Number
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryWalletExistence

Query Wallets Existence

Query wallets existence by list of msisdn in body of request


/oderowallet/v1/customers/query-wallets-existence

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/customers/query-wallets-existence"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CustomersApi;

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

public class CustomersApiExample {

    public static void main(String[] args) {
        
        CustomersApi apiInstance = new CustomersApi();
        QueryWalletsExistenceRestRequest body = ; // QueryWalletsExistenceRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryWalletsExistenceRestResponse result = apiInstance.queryWalletExistence(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#queryWalletExistence");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CustomersApi;

public class CustomersApiExample {

    public static void main(String[] args) {
        CustomersApi apiInstance = new CustomersApi();
        QueryWalletsExistenceRestRequest body = ; // QueryWalletsExistenceRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryWalletsExistenceRestResponse result = apiInstance.queryWalletExistence(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CustomersApi#queryWalletExistence");
            e.printStackTrace();
        }
    }
}
QueryWalletsExistenceRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Wallets Existence
[apiInstance queryWalletExistenceWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseQueryWalletsExistenceRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.CustomersApi()
var body = ; // {{QueryWalletsExistenceRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryWalletExistence(bodyxWalletNumberxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryWalletExistenceExample
    {
        public void main()
        {

            var apiInstance = new CustomersApi();
            var body = new QueryWalletsExistenceRestRequest(); // QueryWalletsExistenceRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Wallets Existence
                ResponseQueryWalletsExistenceRestResponse result = apiInstance.queryWalletExistence(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CustomersApi.queryWalletExistence: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCustomersApi();
$body = ; // QueryWalletsExistenceRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryWalletExistence($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CustomersApi->queryWalletExistence: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CustomersApi;

my $api_instance = WWW::SwaggerClient::CustomersApi->new();
my $body = WWW::SwaggerClient::Object::QueryWalletsExistenceRestRequest->new(); # QueryWalletsExistenceRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryWalletExistence(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CustomersApi->queryWalletExistence: $@\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.CustomersApi()
body =  # QueryWalletsExistenceRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Wallets Existence
    api_response = api_instance.query_wallet_existence(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CustomersApi->queryWalletExistence: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


Devices

enrollPushToken

Enroll Push Token

Enrolls push token for device of wallet


/oderowallet/v1/devices/enroll-push-token

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/devices/enroll-push-token"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DevicesApi;

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

public class DevicesApiExample {

    public static void main(String[] args) {
        
        DevicesApi apiInstance = new DevicesApi();
        EnrollPushTokenRestRequest body = ; // EnrollPushTokenRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xDeviceId = xDeviceId_example; // String | 
        String xAccessToken = xAccessToken_example; // String | Access Token
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseVoid result = apiInstance.enrollPushToken(body, xWalletNumber, xDeviceId, xAccessToken, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DevicesApi#enrollPushToken");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DevicesApi;

public class DevicesApiExample {

    public static void main(String[] args) {
        DevicesApi apiInstance = new DevicesApi();
        EnrollPushTokenRestRequest body = ; // EnrollPushTokenRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xDeviceId = xDeviceId_example; // String | 
        String xAccessToken = xAccessToken_example; // String | Access Token
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        try {
            ResponseVoid result = apiInstance.enrollPushToken(body, xWalletNumber, xDeviceId, xAccessToken, xApiKey, xAuthVersion, xRndKey, xSignature);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DevicesApi#enrollPushToken");
            e.printStackTrace();
        }
    }
}
EnrollPushTokenRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xDeviceId = xDeviceId_example; // 
String *xAccessToken = xAccessToken_example; // Access Token
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature

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

// Enroll Push Token
[apiInstance enrollPushTokenWith:body
    xWalletNumber:xWalletNumber
    xDeviceId:xDeviceId
    xAccessToken:xAccessToken
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
              completionHandler: ^(ResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.DevicesApi()
var body = ; // {{EnrollPushTokenRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xDeviceId = xDeviceId_example; // {{String}} 
var xAccessToken = xAccessToken_example; // {{String}} Access Token
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature

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

namespace Example
{
    public class enrollPushTokenExample
    {
        public void main()
        {

            var apiInstance = new DevicesApi();
            var body = new EnrollPushTokenRestRequest(); // EnrollPushTokenRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xDeviceId = xDeviceId_example;  // String | 
            var xAccessToken = xAccessToken_example;  // String | Access Token
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature

            try
            {
                // Enroll Push Token
                ResponseVoid result = apiInstance.enrollPushToken(body, xWalletNumber, xDeviceId, xAccessToken, xApiKey, xAuthVersion, xRndKey, xSignature);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DevicesApi.enrollPushToken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDevicesApi();
$body = ; // EnrollPushTokenRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xDeviceId = xDeviceId_example; // String | 
$xAccessToken = xAccessToken_example; // String | Access Token
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature

try {
    $result = $api_instance->enrollPushToken($body, $xWalletNumber, $xDeviceId, $xAccessToken, $xApiKey, $xAuthVersion, $xRndKey, $xSignature);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DevicesApi->enrollPushToken: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DevicesApi;

my $api_instance = WWW::SwaggerClient::DevicesApi->new();
my $body = WWW::SwaggerClient::Object::EnrollPushTokenRestRequest->new(); # EnrollPushTokenRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xDeviceId = xDeviceId_example; # String | 
my $xAccessToken = xAccessToken_example; # String | Access Token
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature

eval { 
    my $result = $api_instance->enrollPushToken(body => $body, xWalletNumber => $xWalletNumber, xDeviceId => $xDeviceId, xAccessToken => $xAccessToken, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DevicesApi->enrollPushToken: $@\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.DevicesApi()
body =  # EnrollPushTokenRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xDeviceId = xDeviceId_example # String | 
xAccessToken = xAccessToken_example # String | Access Token
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature

try: 
    # Enroll Push Token
    api_response = api_instance.enroll_push_token(body, xWalletNumber, xDeviceId, xAccessToken, xApiKey, xAuthVersion, xRndKey, xSignature)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DevicesApi->enrollPushToken: %s\n" % e)

Parameters

Header parameters
Name Description
x-wallet-number*
String
Wallet Number
Required
x-device-id*
String
Required
x-access-token*
String
Access Token
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


Installments

queryCommissionInfo1

Installment Commission Info

Installment Commission Info for Bin Number and Price


/oderowallet/v1/installment/installment-info

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/installment/installment-info?request="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.InstallmentsApi;

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

public class InstallmentsApiExample {

    public static void main(String[] args) {
        
        InstallmentsApi apiInstance = new InstallmentsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        InstallmentSearchRequest request = ; // InstallmentSearchRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseInstallmentResponse result = apiInstance.queryCommissionInfo1(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstallmentsApi#queryCommissionInfo1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.InstallmentsApi;

public class InstallmentsApiExample {

    public static void main(String[] args) {
        InstallmentsApi apiInstance = new InstallmentsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        InstallmentSearchRequest request = ; // InstallmentSearchRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseInstallmentResponse result = apiInstance.queryCommissionInfo1(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstallmentsApi#queryCommissionInfo1");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
InstallmentSearchRequest *request = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Installment Commission Info
[apiInstance queryCommissionInfo1With:xWalletNumber
    request:request
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseInstallmentResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.InstallmentsApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var request = ; // {{InstallmentSearchRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryCommissionInfo1(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryCommissionInfo1Example
    {
        public void main()
        {

            var apiInstance = new InstallmentsApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var request = new InstallmentSearchRequest(); // InstallmentSearchRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Installment Commission Info
                ResponseInstallmentResponse result = apiInstance.queryCommissionInfo1(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstallmentsApi.queryCommissionInfo1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiInstallmentsApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$request = ; // InstallmentSearchRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryCommissionInfo1($xWalletNumber, $request, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstallmentsApi->queryCommissionInfo1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::InstallmentsApi;

my $api_instance = WWW::SwaggerClient::InstallmentsApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $request = ; # InstallmentSearchRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryCommissionInfo1(xWalletNumber => $xWalletNumber, request => $request, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstallmentsApi->queryCommissionInfo1: $@\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.InstallmentsApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
request =  # InstallmentSearchRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Installment Commission Info
    api_response = api_instance.query_commission_info1(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstallmentsApi->queryCommissionInfo1: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Query parameters
Name Description
request*
InstallmentSearchRequest
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


SupplierInvoices

orderInvoicesPayment

Order Supplier Invoices Payment

Order supplier invoices payment


/oderowallet/v1/supplier-invoices/order

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/supplier-invoices/order"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SupplierInvoicesApi;

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

public class SupplierInvoicesApiExample {

    public static void main(String[] args) {
        
        SupplierInvoicesApi apiInstance = new SupplierInvoicesApi();
        CreateSupplierInvoiceOrderRestRequest body = ; // CreateSupplierInvoiceOrderRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseVoid result = apiInstance.orderInvoicesPayment(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SupplierInvoicesApi#orderInvoicesPayment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SupplierInvoicesApi;

public class SupplierInvoicesApiExample {

    public static void main(String[] args) {
        SupplierInvoicesApi apiInstance = new SupplierInvoicesApi();
        CreateSupplierInvoiceOrderRestRequest body = ; // CreateSupplierInvoiceOrderRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseVoid result = apiInstance.orderInvoicesPayment(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SupplierInvoicesApi#orderInvoicesPayment");
            e.printStackTrace();
        }
    }
}
CreateSupplierInvoiceOrderRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Order Supplier Invoices Payment
[apiInstance orderInvoicesPaymentWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.SupplierInvoicesApi()
var body = ; // {{CreateSupplierInvoiceOrderRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.orderInvoicesPayment(bodyxWalletNumberxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class orderInvoicesPaymentExample
    {
        public void main()
        {

            var apiInstance = new SupplierInvoicesApi();
            var body = new CreateSupplierInvoiceOrderRestRequest(); // CreateSupplierInvoiceOrderRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Order Supplier Invoices Payment
                ResponseVoid result = apiInstance.orderInvoicesPayment(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SupplierInvoicesApi.orderInvoicesPayment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSupplierInvoicesApi();
$body = ; // CreateSupplierInvoiceOrderRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->orderInvoicesPayment($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SupplierInvoicesApi->orderInvoicesPayment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SupplierInvoicesApi;

my $api_instance = WWW::SwaggerClient::SupplierInvoicesApi->new();
my $body = WWW::SwaggerClient::Object::CreateSupplierInvoiceOrderRestRequest->new(); # CreateSupplierInvoiceOrderRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->orderInvoicesPayment(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SupplierInvoicesApi->orderInvoicesPayment: $@\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.SupplierInvoicesApi()
body =  # CreateSupplierInvoiceOrderRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Order Supplier Invoices Payment
    api_response = api_instance.order_invoices_payment(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SupplierInvoicesApi->orderInvoicesPayment: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryInvoicesBySupplierId

Query Supplier Invoices

Query supplier invoice list


/oderowallet/v1/supplier-invoices

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/supplier-invoices"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SupplierInvoicesApi;

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

public class SupplierInvoicesApiExample {

    public static void main(String[] args) {
        
        SupplierInvoicesApi apiInstance = new SupplierInvoicesApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xSupplierId = xSupplierId_example; // String | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseSupplierInvoiceListRestResponse result = apiInstance.queryInvoicesBySupplierId(xWalletNumber, xSupplierId, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SupplierInvoicesApi#queryInvoicesBySupplierId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SupplierInvoicesApi;

public class SupplierInvoicesApiExample {

    public static void main(String[] args) {
        SupplierInvoicesApi apiInstance = new SupplierInvoicesApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xSupplierId = xSupplierId_example; // String | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseSupplierInvoiceListRestResponse result = apiInstance.queryInvoicesBySupplierId(xWalletNumber, xSupplierId, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SupplierInvoicesApi#queryInvoicesBySupplierId");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xSupplierId = xSupplierId_example; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Supplier Invoices
[apiInstance queryInvoicesBySupplierIdWith:xWalletNumber
    xSupplierId:xSupplierId
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseSupplierInvoiceListRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.SupplierInvoicesApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xSupplierId = xSupplierId_example; // {{String}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryInvoicesBySupplierId(xWalletNumber, xSupplierId, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryInvoicesBySupplierIdExample
    {
        public void main()
        {

            var apiInstance = new SupplierInvoicesApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xSupplierId = xSupplierId_example;  // String | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Supplier Invoices
                ResponseSupplierInvoiceListRestResponse result = apiInstance.queryInvoicesBySupplierId(xWalletNumber, xSupplierId, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SupplierInvoicesApi.queryInvoicesBySupplierId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSupplierInvoicesApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xSupplierId = xSupplierId_example; // String | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryInvoicesBySupplierId($xWalletNumber, $xSupplierId, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SupplierInvoicesApi->queryInvoicesBySupplierId: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SupplierInvoicesApi;

my $api_instance = WWW::SwaggerClient::SupplierInvoicesApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xSupplierId = xSupplierId_example; # String | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryInvoicesBySupplierId(xWalletNumber => $xWalletNumber, xSupplierId => $xSupplierId, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SupplierInvoicesApi->queryInvoicesBySupplierId: $@\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.SupplierInvoicesApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
xSupplierId = xSupplierId_example # String | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Supplier Invoices
    api_response = api_instance.query_invoices_by_supplier_id(xWalletNumber, xSupplierId, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SupplierInvoicesApi->queryInvoicesBySupplierId: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-supplier-id*
String
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryInvoicesSummaryList

Query Supplier Invoice Summary List

Query supplier invoice summary list


/oderowallet/v1/supplier-invoices/summary

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/supplier-invoices/summary"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SupplierInvoicesApi;

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

public class SupplierInvoicesApiExample {

    public static void main(String[] args) {
        
        SupplierInvoicesApi apiInstance = new SupplierInvoicesApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseSupplierInvoicesSummaryListRestResponse result = apiInstance.queryInvoicesSummaryList(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SupplierInvoicesApi#queryInvoicesSummaryList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SupplierInvoicesApi;

public class SupplierInvoicesApiExample {

    public static void main(String[] args) {
        SupplierInvoicesApi apiInstance = new SupplierInvoicesApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseSupplierInvoicesSummaryListRestResponse result = apiInstance.queryInvoicesSummaryList(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SupplierInvoicesApi#queryInvoicesSummaryList");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Supplier Invoice Summary List
[apiInstance queryInvoicesSummaryListWith:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseSupplierInvoicesSummaryListRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.SupplierInvoicesApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryInvoicesSummaryList(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryInvoicesSummaryListExample
    {
        public void main()
        {

            var apiInstance = new SupplierInvoicesApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Supplier Invoice Summary List
                ResponseSupplierInvoicesSummaryListRestResponse result = apiInstance.queryInvoicesSummaryList(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SupplierInvoicesApi.queryInvoicesSummaryList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSupplierInvoicesApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryInvoicesSummaryList($xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SupplierInvoicesApi->queryInvoicesSummaryList: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SupplierInvoicesApi;

my $api_instance = WWW::SwaggerClient::SupplierInvoicesApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryInvoicesSummaryList(xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SupplierInvoicesApi->queryInvoicesSummaryList: $@\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.SupplierInvoicesApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Supplier Invoice Summary List
    api_response = api_instance.query_invoices_summary_list(xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SupplierInvoicesApi->queryInvoicesSummaryList: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


Transactions

approveMoneyTransferToWallet

Approve Money Transfer

Approve money transfer to requester wallet


/oderowallet/v1/transactions/approve-money-transfer

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/approve-money-transfer"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        ApproveMoneyTransferToWalletRestRequest body = ; // ApproveMoneyTransferToWalletRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseApproveMoneyTransferToWalletRestResponse result = apiInstance.approveMoneyTransferToWallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#approveMoneyTransferToWallet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        ApproveMoneyTransferToWalletRestRequest body = ; // ApproveMoneyTransferToWalletRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseApproveMoneyTransferToWalletRestResponse result = apiInstance.approveMoneyTransferToWallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#approveMoneyTransferToWallet");
            e.printStackTrace();
        }
    }
}
ApproveMoneyTransferToWalletRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Approve Money Transfer
[apiInstance approveMoneyTransferToWalletWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseApproveMoneyTransferToWalletRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{ApproveMoneyTransferToWalletRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.approveMoneyTransferToWallet(bodyxWalletNumberxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class approveMoneyTransferToWalletExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new ApproveMoneyTransferToWalletRestRequest(); // ApproveMoneyTransferToWalletRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Approve Money Transfer
                ResponseApproveMoneyTransferToWalletRestResponse result = apiInstance.approveMoneyTransferToWallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.approveMoneyTransferToWallet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // ApproveMoneyTransferToWalletRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->approveMoneyTransferToWallet($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->approveMoneyTransferToWallet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::ApproveMoneyTransferToWalletRestRequest->new(); # ApproveMoneyTransferToWalletRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->approveMoneyTransferToWallet(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->approveMoneyTransferToWallet: $@\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.TransactionsApi()
body =  # ApproveMoneyTransferToWalletRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Approve Money Transfer
    api_response = api_instance.approve_money_transfer_to_wallet(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->approveMoneyTransferToWallet: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


completeBalanceLoadVPos

Complete Balance Load via vPOS

Completes balance load flow via vPOS


/oderowallet/v1/transactions/complete-balance-load-vpos

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/complete-balance-load-vpos"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        CompleteBalanceLoadWithVPosRestRequest body = ; // CompleteBalanceLoadWithVPosRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseThreeDSCompleteRestResponse result = apiInstance.completeBalanceLoadVPos(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#completeBalanceLoadVPos");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        CompleteBalanceLoadWithVPosRestRequest body = ; // CompleteBalanceLoadWithVPosRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseThreeDSCompleteRestResponse result = apiInstance.completeBalanceLoadVPos(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#completeBalanceLoadVPos");
            e.printStackTrace();
        }
    }
}
CompleteBalanceLoadWithVPosRestRequest *body = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Complete Balance Load via vPOS
[apiInstance completeBalanceLoadVPosWith:body
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseThreeDSCompleteRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{CompleteBalanceLoadWithVPosRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.completeBalanceLoadVPos(bodyxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class completeBalanceLoadVPosExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new CompleteBalanceLoadWithVPosRestRequest(); // CompleteBalanceLoadWithVPosRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Complete Balance Load via vPOS
                ResponseThreeDSCompleteRestResponse result = apiInstance.completeBalanceLoadVPos(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.completeBalanceLoadVPos: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // CompleteBalanceLoadWithVPosRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->completeBalanceLoadVPos($body, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->completeBalanceLoadVPos: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::CompleteBalanceLoadWithVPosRestRequest->new(); # CompleteBalanceLoadWithVPosRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->completeBalanceLoadVPos(body => $body, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->completeBalanceLoadVPos: $@\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.TransactionsApi()
body =  # CompleteBalanceLoadWithVPosRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Complete Balance Load via vPOS
    api_response = api_instance.complete_balance_load_v_pos(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->completeBalanceLoadVPos: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


completeCheckoutPayment

Complete Checkout Payment via PSP

Complete checkout payment via PSP


/oderowallet/v1/transactions/payment/complete

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/payment/complete"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        CompleteWalletCheckoutRestRequest body = ; // CompleteWalletCheckoutRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseCompleteWalletCheckoutRestResponse result = apiInstance.completeCheckoutPayment(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#completeCheckoutPayment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        CompleteWalletCheckoutRestRequest body = ; // CompleteWalletCheckoutRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseCompleteWalletCheckoutRestResponse result = apiInstance.completeCheckoutPayment(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#completeCheckoutPayment");
            e.printStackTrace();
        }
    }
}
CompleteWalletCheckoutRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Complete Checkout Payment via PSP
[apiInstance completeCheckoutPaymentWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseCompleteWalletCheckoutRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{CompleteWalletCheckoutRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.completeCheckoutPayment(bodyxWalletNumberxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class completeCheckoutPaymentExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new CompleteWalletCheckoutRestRequest(); // CompleteWalletCheckoutRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Complete Checkout Payment via PSP
                ResponseCompleteWalletCheckoutRestResponse result = apiInstance.completeCheckoutPayment(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.completeCheckoutPayment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // CompleteWalletCheckoutRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->completeCheckoutPayment($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->completeCheckoutPayment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::CompleteWalletCheckoutRestRequest->new(); # CompleteWalletCheckoutRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->completeCheckoutPayment(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->completeCheckoutPayment: $@\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.TransactionsApi()
body =  # CompleteWalletCheckoutRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Complete Checkout Payment via PSP
    api_response = api_instance.complete_checkout_payment(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->completeCheckoutPayment: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


completeThreeDS

Complete 3Ds via vPOS

Complete 3Ds flow via vPOS


/oderowallet/v1/transactions/complete-threeds

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/complete-threeds"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        CompleteBalanceLoadWithVPosRestRequest body = ; // CompleteBalanceLoadWithVPosRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseThreeDSCompleteRestResponse result = apiInstance.completeThreeDS(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#completeThreeDS");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        CompleteBalanceLoadWithVPosRestRequest body = ; // CompleteBalanceLoadWithVPosRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseThreeDSCompleteRestResponse result = apiInstance.completeThreeDS(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#completeThreeDS");
            e.printStackTrace();
        }
    }
}
CompleteBalanceLoadWithVPosRestRequest *body = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Complete 3Ds via vPOS
[apiInstance completeThreeDSWith:body
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseThreeDSCompleteRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{CompleteBalanceLoadWithVPosRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.completeThreeDS(bodyxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class completeThreeDSExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new CompleteBalanceLoadWithVPosRestRequest(); // CompleteBalanceLoadWithVPosRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Complete 3Ds via vPOS
                ResponseThreeDSCompleteRestResponse result = apiInstance.completeThreeDS(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.completeThreeDS: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // CompleteBalanceLoadWithVPosRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->completeThreeDS($body, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->completeThreeDS: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::CompleteBalanceLoadWithVPosRestRequest->new(); # CompleteBalanceLoadWithVPosRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->completeThreeDS(body => $body, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->completeThreeDS: $@\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.TransactionsApi()
body =  # CompleteBalanceLoadWithVPosRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Complete 3Ds via vPOS
    api_response = api_instance.complete_three_ds(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->completeThreeDS: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


doWalletSale

Wallet Sale

Makes wallet sale


/oderowallet/v1/transactions/sale

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/sale"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        WalletSaleRestRequest body = ; // WalletSaleRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseWalletSaleRestResponse result = apiInstance.doWalletSale(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#doWalletSale");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        WalletSaleRestRequest body = ; // WalletSaleRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseWalletSaleRestResponse result = apiInstance.doWalletSale(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#doWalletSale");
            e.printStackTrace();
        }
    }
}
WalletSaleRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Wallet Sale
[apiInstance doWalletSaleWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseWalletSaleRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{WalletSaleRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.doWalletSale(bodyxWalletNumberxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class doWalletSaleExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new WalletSaleRestRequest(); // WalletSaleRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Wallet Sale
                ResponseWalletSaleRestResponse result = apiInstance.doWalletSale(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.doWalletSale: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // WalletSaleRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->doWalletSale($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->doWalletSale: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::WalletSaleRestRequest->new(); # WalletSaleRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->doWalletSale(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->doWalletSale: $@\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.TransactionsApi()
body =  # WalletSaleRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Wallet Sale
    api_response = api_instance.do_wallet_sale(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->doWalletSale: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


initThreeDSToSaveCard

Init Save Card Flow

Init 3DS flow to save card


/oderowallet/v1/transactions/init-threeds-save-card

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/init-threeds-save-card"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        InitThreeDToSaveCardRestRequest body = ; // InitThreeDToSaveCardRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseThreeDSInitRestResponse result = apiInstance.initThreeDSToSaveCard(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#initThreeDSToSaveCard");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        InitThreeDToSaveCardRestRequest body = ; // InitThreeDToSaveCardRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseThreeDSInitRestResponse result = apiInstance.initThreeDSToSaveCard(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#initThreeDSToSaveCard");
            e.printStackTrace();
        }
    }
}
InitThreeDToSaveCardRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Init Save Card Flow
[apiInstance initThreeDSToSaveCardWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseThreeDSInitRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{InitThreeDToSaveCardRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.initThreeDSToSaveCard(bodyxWalletNumberxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class initThreeDSToSaveCardExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new InitThreeDToSaveCardRestRequest(); // InitThreeDToSaveCardRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Init Save Card Flow
                ResponseThreeDSInitRestResponse result = apiInstance.initThreeDSToSaveCard(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.initThreeDSToSaveCard: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // InitThreeDToSaveCardRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->initThreeDSToSaveCard($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->initThreeDSToSaveCard: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::InitThreeDToSaveCardRestRequest->new(); # InitThreeDToSaveCardRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->initThreeDSToSaveCard(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->initThreeDSToSaveCard: $@\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.TransactionsApi()
body =  # InitThreeDToSaveCardRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Init Save Card Flow
    api_response = api_instance.init_three_dsto_save_card(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->initThreeDSToSaveCard: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryCheckoutPayment

Query Checkout Payment in PSP

Query checkout payment details in PSP


/oderowallet/v1/transactions/payment/{checkoutToken}

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/payment/{checkoutToken}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String checkoutToken = checkoutToken_example; // String | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryCheckoutPaymentRestResponse result = apiInstance.queryCheckoutPayment(xWalletNumber, checkoutToken, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryCheckoutPayment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String checkoutToken = checkoutToken_example; // String | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryCheckoutPaymentRestResponse result = apiInstance.queryCheckoutPayment(xWalletNumber, checkoutToken, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryCheckoutPayment");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *checkoutToken = checkoutToken_example; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Checkout Payment in PSP
[apiInstance queryCheckoutPaymentWith:xWalletNumber
    checkoutToken:checkoutToken
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseQueryCheckoutPaymentRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var checkoutToken = checkoutToken_example; // {{String}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryCheckoutPayment(xWalletNumber, checkoutToken, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryCheckoutPaymentExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var checkoutToken = checkoutToken_example;  // String | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Checkout Payment in PSP
                ResponseQueryCheckoutPaymentRestResponse result = apiInstance.queryCheckoutPayment(xWalletNumber, checkoutToken, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.queryCheckoutPayment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$checkoutToken = checkoutToken_example; // String | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryCheckoutPayment($xWalletNumber, $checkoutToken, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->queryCheckoutPayment: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $checkoutToken = checkoutToken_example; # String | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryCheckoutPayment(xWalletNumber => $xWalletNumber, checkoutToken => $checkoutToken, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->queryCheckoutPayment: $@\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.TransactionsApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
checkoutToken = checkoutToken_example # String | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Checkout Payment in PSP
    api_response = api_instance.query_checkout_payment(xWalletNumber, checkoutToken, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->queryCheckoutPayment: %s\n" % e)

Parameters

Path parameters
Name Description
checkoutToken*
String
Required
Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryCommissionInfo

Query Commission Info

Query Commission Info for Operation Code/Operation Mode


/oderowallet/v1/transactions/commission-info

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/commission-info?request="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        QueryCommissionInfoRestRequest request = ; // QueryCommissionInfoRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryCommissionInfoRestResponse result = apiInstance.queryCommissionInfo(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryCommissionInfo");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        QueryCommissionInfoRestRequest request = ; // QueryCommissionInfoRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryCommissionInfoRestResponse result = apiInstance.queryCommissionInfo(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryCommissionInfo");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
QueryCommissionInfoRestRequest *request = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Commission Info
[apiInstance queryCommissionInfoWith:xWalletNumber
    request:request
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseQueryCommissionInfoRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var request = ; // {{QueryCommissionInfoRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryCommissionInfo(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryCommissionInfoExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var request = new QueryCommissionInfoRestRequest(); // QueryCommissionInfoRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Commission Info
                ResponseQueryCommissionInfoRestResponse result = apiInstance.queryCommissionInfo(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.queryCommissionInfo: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$request = ; // QueryCommissionInfoRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryCommissionInfo($xWalletNumber, $request, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->queryCommissionInfo: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $request = ; # QueryCommissionInfoRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryCommissionInfo(xWalletNumber => $xWalletNumber, request => $request, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->queryCommissionInfo: $@\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.TransactionsApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
request =  # QueryCommissionInfoRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Commission Info
    api_response = api_instance.query_commission_info(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->queryCommissionInfo: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Query parameters
Name Description
request*
QueryCommissionInfoRestRequest
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryMoneyTransferDetail

Query Money Transfer

Query money transfer detail


/oderowallet/v1/transactions/money-transfer-request/{requestUuid}

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/money-transfer-request/{requestUuid}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String requestUuid = requestUuid_example; // String | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryMoneyTransferDetailRestResponse result = apiInstance.queryMoneyTransferDetail(xWalletNumber, requestUuid, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryMoneyTransferDetail");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String requestUuid = requestUuid_example; // String | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryMoneyTransferDetailRestResponse result = apiInstance.queryMoneyTransferDetail(xWalletNumber, requestUuid, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryMoneyTransferDetail");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *requestUuid = requestUuid_example; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Money Transfer
[apiInstance queryMoneyTransferDetailWith:xWalletNumber
    requestUuid:requestUuid
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseQueryMoneyTransferDetailRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var requestUuid = requestUuid_example; // {{String}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryMoneyTransferDetail(xWalletNumber, requestUuid, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryMoneyTransferDetailExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var requestUuid = requestUuid_example;  // String | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Money Transfer
                ResponseQueryMoneyTransferDetailRestResponse result = apiInstance.queryMoneyTransferDetail(xWalletNumber, requestUuid, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.queryMoneyTransferDetail: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$requestUuid = requestUuid_example; // String | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryMoneyTransferDetail($xWalletNumber, $requestUuid, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->queryMoneyTransferDetail: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $requestUuid = requestUuid_example; # String | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryMoneyTransferDetail(xWalletNumber => $xWalletNumber, requestUuid => $requestUuid, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->queryMoneyTransferDetail: $@\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.TransactionsApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
requestUuid = requestUuid_example # String | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Money Transfer
    api_response = api_instance.query_money_transfer_detail(xWalletNumber, requestUuid, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->queryMoneyTransferDetail: %s\n" % e)

Parameters

Path parameters
Name Description
requestUuid*
String
Required
Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryTransactionDetail

Query Wallet Transaction

Query Wallet Transaction Detail


/oderowallet/v1/transactions/detail

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/detail?request="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        QueryWalletTransactionRestRequest request = ; // QueryWalletTransactionRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryWalletTransactionRestResponse result = apiInstance.queryTransactionDetail(request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryTransactionDetail");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        QueryWalletTransactionRestRequest request = ; // QueryWalletTransactionRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryWalletTransactionRestResponse result = apiInstance.queryTransactionDetail(request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryTransactionDetail");
            e.printStackTrace();
        }
    }
}
QueryWalletTransactionRestRequest *request = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Wallet Transaction
[apiInstance queryTransactionDetailWith:request
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseQueryWalletTransactionRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var request = ; // {{QueryWalletTransactionRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryTransactionDetail(request, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryTransactionDetailExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var request = new QueryWalletTransactionRestRequest(); // QueryWalletTransactionRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Wallet Transaction
                ResponseQueryWalletTransactionRestResponse result = apiInstance.queryTransactionDetail(request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.queryTransactionDetail: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$request = ; // QueryWalletTransactionRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryTransactionDetail($request, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->queryTransactionDetail: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $request = ; # QueryWalletTransactionRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryTransactionDetail(request => $request, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->queryTransactionDetail: $@\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.TransactionsApi()
request =  # QueryWalletTransactionRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Wallet Transaction
    api_response = api_instance.query_transaction_detail(request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->queryTransactionDetail: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Query parameters
Name Description
request*
QueryWalletTransactionRestRequest
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryWalletTransactions

Query Wallet Transactions

Query Wallet Transactions


/oderowallet/v1/transactions/list

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/list?request="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        QueryWalletTransactionsRestRequest request = ; // QueryWalletTransactionsRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryWalletTransactionsRestResponse result = apiInstance.queryWalletTransactions(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryWalletTransactions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        QueryWalletTransactionsRestRequest request = ; // QueryWalletTransactionsRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryWalletTransactionsRestResponse result = apiInstance.queryWalletTransactions(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryWalletTransactions");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
QueryWalletTransactionsRestRequest *request = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Wallet Transactions
[apiInstance queryWalletTransactionsWith:xWalletNumber
    request:request
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseQueryWalletTransactionsRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var request = ; // {{QueryWalletTransactionsRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryWalletTransactions(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryWalletTransactionsExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var request = new QueryWalletTransactionsRestRequest(); // QueryWalletTransactionsRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Wallet Transactions
                ResponseQueryWalletTransactionsRestResponse result = apiInstance.queryWalletTransactions(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.queryWalletTransactions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$request = ; // QueryWalletTransactionsRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryWalletTransactions($xWalletNumber, $request, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->queryWalletTransactions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $request = ; # QueryWalletTransactionsRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryWalletTransactions(xWalletNumber => $xWalletNumber, request => $request, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->queryWalletTransactions: $@\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.TransactionsApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
request =  # QueryWalletTransactionsRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Wallet Transactions
    api_response = api_instance.query_wallet_transactions(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->queryWalletTransactions: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Query parameters
Name Description
request*
QueryWalletTransactionsRestRequest
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


queryWalletTransactionsPaginated

Query Wallet Transactions Paginated

Query Wallet Transactions Paginated


/oderowallet/v1/transactions/list/paginated

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/list/paginated?request="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        QueryWalletTransactionsPaginatedRestRequest request = ; // QueryWalletTransactionsPaginatedRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryWalletTransactionsPaginatedRestResponse result = apiInstance.queryWalletTransactionsPaginated(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryWalletTransactionsPaginated");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        QueryWalletTransactionsPaginatedRestRequest request = ; // QueryWalletTransactionsPaginatedRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseQueryWalletTransactionsPaginatedRestResponse result = apiInstance.queryWalletTransactionsPaginated(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#queryWalletTransactionsPaginated");
            e.printStackTrace();
        }
    }
}
String *xWalletNumber = xWalletNumber_example; // Wallet Number
QueryWalletTransactionsPaginatedRestRequest *request = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Query Wallet Transactions Paginated
[apiInstance queryWalletTransactionsPaginatedWith:xWalletNumber
    request:request
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseQueryWalletTransactionsPaginatedRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var request = ; // {{QueryWalletTransactionsPaginatedRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.queryWalletTransactionsPaginated(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class queryWalletTransactionsPaginatedExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var request = new QueryWalletTransactionsPaginatedRestRequest(); // QueryWalletTransactionsPaginatedRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Query Wallet Transactions Paginated
                ResponseQueryWalletTransactionsPaginatedRestResponse result = apiInstance.queryWalletTransactionsPaginated(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.queryWalletTransactionsPaginated: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$request = ; // QueryWalletTransactionsPaginatedRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->queryWalletTransactionsPaginated($xWalletNumber, $request, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->queryWalletTransactionsPaginated: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $request = ; # QueryWalletTransactionsPaginatedRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->queryWalletTransactionsPaginated(xWalletNumber => $xWalletNumber, request => $request, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->queryWalletTransactionsPaginated: $@\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.TransactionsApi()
xWalletNumber = xWalletNumber_example # String | Wallet Number
request =  # QueryWalletTransactionsPaginatedRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Query Wallet Transactions Paginated
    api_response = api_instance.query_wallet_transactions_paginated(xWalletNumber, request, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->queryWalletTransactionsPaginated: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Query parameters
Name Description
request*
QueryWalletTransactionsPaginatedRestRequest
Required

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


refundTransaction

Refund Transaction

Refunds Transaction


/oderowallet/v1/transactions/refund

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/refund"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        RefundTransactionRestRequest body = ; // RefundTransactionRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseRefundTransactionRestResponse result = apiInstance.refundTransaction(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#refundTransaction");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        RefundTransactionRestRequest body = ; // RefundTransactionRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseRefundTransactionRestResponse result = apiInstance.refundTransaction(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#refundTransaction");
            e.printStackTrace();
        }
    }
}
RefundTransactionRestRequest *body = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Refund Transaction
[apiInstance refundTransactionWith:body
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseRefundTransactionRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{RefundTransactionRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.refundTransaction(bodyxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class refundTransactionExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new RefundTransactionRestRequest(); // RefundTransactionRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Refund Transaction
                ResponseRefundTransactionRestResponse result = apiInstance.refundTransaction(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.refundTransaction: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // RefundTransactionRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->refundTransaction($body, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->refundTransaction: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::RefundTransactionRestRequest->new(); # RefundTransactionRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->refundTransaction(body => $body, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->refundTransaction: $@\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.TransactionsApi()
body =  # RefundTransactionRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Refund Transaction
    api_response = api_instance.refund_transaction(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->refundTransaction: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


startBalanceLoadWithVPos

Start Balance Load via vPOS

Starts balance load flow via 3Ds init on vPOS


/oderowallet/v1/transactions/start-balance-load-vpos

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/start-balance-load-vpos"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        StartBalanceLoadWithVPosRestRequest body = ; // StartBalanceLoadWithVPosRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseThreeDSInitRestResponse result = apiInstance.startBalanceLoadWithVPos(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#startBalanceLoadWithVPos");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        StartBalanceLoadWithVPosRestRequest body = ; // StartBalanceLoadWithVPosRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseThreeDSInitRestResponse result = apiInstance.startBalanceLoadWithVPos(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#startBalanceLoadWithVPos");
            e.printStackTrace();
        }
    }
}
StartBalanceLoadWithVPosRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Start Balance Load via vPOS
[apiInstance startBalanceLoadWithVPosWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseThreeDSInitRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{StartBalanceLoadWithVPosRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.startBalanceLoadWithVPos(bodyxWalletNumberxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class startBalanceLoadWithVPosExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new StartBalanceLoadWithVPosRestRequest(); // StartBalanceLoadWithVPosRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Start Balance Load via vPOS
                ResponseThreeDSInitRestResponse result = apiInstance.startBalanceLoadWithVPos(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.startBalanceLoadWithVPos: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // StartBalanceLoadWithVPosRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->startBalanceLoadWithVPos($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->startBalanceLoadWithVPos: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::StartBalanceLoadWithVPosRestRequest->new(); # StartBalanceLoadWithVPosRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->startBalanceLoadWithVPos(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->startBalanceLoadWithVPos: $@\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.TransactionsApi()
body =  # StartBalanceLoadWithVPosRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Start Balance Load via vPOS
    api_response = api_instance.start_balance_load_with_v_pos(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->startBalanceLoadWithVPos: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


startBalanceTransfer

Start Balance Transfer

Starts Balance Transfer for Operation Mode


/oderowallet/v1/transactions/start-balance-transfer

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/start-balance-transfer"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        StartBalanceTransferRestRequest body = ; // StartBalanceTransferRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseStartBalanceTransferRestResponse result = apiInstance.startBalanceTransfer(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#startBalanceTransfer");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        StartBalanceTransferRestRequest body = ; // StartBalanceTransferRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseStartBalanceTransferRestResponse result = apiInstance.startBalanceTransfer(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#startBalanceTransfer");
            e.printStackTrace();
        }
    }
}
StartBalanceTransferRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Start Balance Transfer
[apiInstance startBalanceTransferWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseStartBalanceTransferRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{StartBalanceTransferRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.startBalanceTransfer(bodyxWalletNumberxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class startBalanceTransferExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new StartBalanceTransferRestRequest(); // StartBalanceTransferRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Start Balance Transfer
                ResponseStartBalanceTransferRestResponse result = apiInstance.startBalanceTransfer(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.startBalanceTransfer: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // StartBalanceTransferRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->startBalanceTransfer($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->startBalanceTransfer: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::StartBalanceTransferRestRequest->new(); # StartBalanceTransferRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->startBalanceTransfer(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->startBalanceTransfer: $@\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.TransactionsApi()
body =  # StartBalanceTransferRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Start Balance Transfer
    api_response = api_instance.start_balance_transfer(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->startBalanceTransfer: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


startMoneyTransferRequest

Money Transfer Request

Start money transfer request


/oderowallet/v1/transactions/money-transfer-request

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/money-transfer-request"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        MoneyTransferRequestRestRequest body = ; // MoneyTransferRequestRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseMoneyTransferRequestRestResponse result = apiInstance.startMoneyTransferRequest(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#startMoneyTransferRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        MoneyTransferRequestRestRequest body = ; // MoneyTransferRequestRestRequest | 
        String xWalletNumber = xWalletNumber_example; // String | Wallet Number
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseMoneyTransferRequestRestResponse result = apiInstance.startMoneyTransferRequest(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#startMoneyTransferRequest");
            e.printStackTrace();
        }
    }
}
MoneyTransferRequestRestRequest *body = ; // 
String *xWalletNumber = xWalletNumber_example; // Wallet Number
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Money Transfer Request
[apiInstance startMoneyTransferRequestWith:body
    xWalletNumber:xWalletNumber
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseMoneyTransferRequestRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{MoneyTransferRequestRestRequest}} 
var xWalletNumber = xWalletNumber_example; // {{String}} Wallet Number
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.startMoneyTransferRequest(bodyxWalletNumberxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class startMoneyTransferRequestExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new MoneyTransferRequestRestRequest(); // MoneyTransferRequestRestRequest | 
            var xWalletNumber = xWalletNumber_example;  // String | Wallet Number
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Money Transfer Request
                ResponseMoneyTransferRequestRestResponse result = apiInstance.startMoneyTransferRequest(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.startMoneyTransferRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // MoneyTransferRequestRestRequest | 
$xWalletNumber = xWalletNumber_example; // String | Wallet Number
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->startMoneyTransferRequest($body, $xWalletNumber, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->startMoneyTransferRequest: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::MoneyTransferRequestRestRequest->new(); # MoneyTransferRequestRestRequest | 
my $xWalletNumber = xWalletNumber_example; # String | Wallet Number
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->startMoneyTransferRequest(body => $body, xWalletNumber => $xWalletNumber, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->startMoneyTransferRequest: $@\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.TransactionsApi()
body =  # MoneyTransferRequestRestRequest | 
xWalletNumber = xWalletNumber_example # String | Wallet Number
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Money Transfer Request
    api_response = api_instance.start_money_transfer_request(body, xWalletNumber, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->startMoneyTransferRequest: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-wallet-number*
String
Wallet Number
Required
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


transferWalletToAccount

Transfer Wallet To Account

Completes Balance Transfer From Wallet To Account


/oderowallet/v1/transactions/transfer-wallet-to-account

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/transfer-wallet-to-account"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        TransferWalletToAccountRestRequest body = ; // TransferWalletToAccountRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseTransferWalletToAccountRestResponse result = apiInstance.transferWalletToAccount(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transferWalletToAccount");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        TransferWalletToAccountRestRequest body = ; // TransferWalletToAccountRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseTransferWalletToAccountRestResponse result = apiInstance.transferWalletToAccount(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transferWalletToAccount");
            e.printStackTrace();
        }
    }
}
TransferWalletToAccountRestRequest *body = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Transfer Wallet To Account
[apiInstance transferWalletToAccountWith:body
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseTransferWalletToAccountRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{TransferWalletToAccountRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transferWalletToAccount(bodyxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transferWalletToAccountExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new TransferWalletToAccountRestRequest(); // TransferWalletToAccountRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Transfer Wallet To Account
                ResponseTransferWalletToAccountRestResponse result = apiInstance.transferWalletToAccount(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transferWalletToAccount: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // TransferWalletToAccountRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->transferWalletToAccount($body, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transferWalletToAccount: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::TransferWalletToAccountRestRequest->new(); # TransferWalletToAccountRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->transferWalletToAccount(body => $body, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transferWalletToAccount: $@\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.TransactionsApi()
body =  # TransferWalletToAccountRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Transfer Wallet To Account
    api_response = api_instance.transfer_wallet_to_account(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transferWalletToAccount: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


transferWalletToWallet

Transfer Wallet to Wallet

Completes Balance Transfer from Wallet to Wallet


/oderowallet/v1/transactions/transfer-wallet-to-wallet

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/transfer-wallet-to-wallet"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        TransferWalletToWalletRestRequest body = ; // TransferWalletToWalletRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseTransferWalletToWalletRestResponse result = apiInstance.transferWalletToWallet(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transferWalletToWallet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        TransferWalletToWalletRestRequest body = ; // TransferWalletToWalletRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseTransferWalletToWalletRestResponse result = apiInstance.transferWalletToWallet(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transferWalletToWallet");
            e.printStackTrace();
        }
    }
}
TransferWalletToWalletRestRequest *body = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Transfer Wallet to Wallet
[apiInstance transferWalletToWalletWith:body
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseTransferWalletToWalletRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{TransferWalletToWalletRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transferWalletToWallet(bodyxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transferWalletToWalletExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new TransferWalletToWalletRestRequest(); // TransferWalletToWalletRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Transfer Wallet to Wallet
                ResponseTransferWalletToWalletRestResponse result = apiInstance.transferWalletToWallet(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transferWalletToWallet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // TransferWalletToWalletRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->transferWalletToWallet($body, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transferWalletToWallet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::TransferWalletToWalletRestRequest->new(); # TransferWalletToWalletRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->transferWalletToWallet(body => $body, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transferWalletToWallet: $@\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.TransactionsApi()
body =  # TransferWalletToWalletRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Transfer Wallet to Wallet
    api_response = api_instance.transfer_wallet_to_wallet(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transferWalletToWallet: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error


transferWalletToWalletByMsisdn

Transfer Wallet to Wallet by Msisdn

Completes Balance Transfer from Wallet to Wallet by Msisdn


/oderowallet/v1/transactions/transfer-wallet-to-wallet-by-msisdn

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://sandbox-api-gateway.oderopay.com.tr/oderowallet/v1/transactions/transfer-wallet-to-wallet-by-msisdn"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TransactionsApi;

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

public class TransactionsApiExample {

    public static void main(String[] args) {
        
        TransactionsApi apiInstance = new TransactionsApi();
        TransferWalletToWalletByMsisdnRestRequest body = ; // TransferWalletToWalletByMsisdnRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseTransferWalletToWalletByMsisdnRestResponse result = apiInstance.transferWalletToWalletByMsisdn(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transferWalletToWalletByMsisdn");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TransactionsApi;

public class TransactionsApiExample {

    public static void main(String[] args) {
        TransactionsApi apiInstance = new TransactionsApi();
        TransferWalletToWalletByMsisdnRestRequest body = ; // TransferWalletToWalletByMsisdnRestRequest | 
        String xApiKey = xApiKey_example; // String | API Key
        BigDecimal xAuthVersion = 1.2; // BigDecimal | Auth version
        String xRndKey = xRndKey_example; // String | Random key
        String xSignature = xSignature_example; // String | Hashed signature
        String xAccessToken = xAccessToken_example; // String | Access Token
        try {
            ResponseTransferWalletToWalletByMsisdnRestResponse result = apiInstance.transferWalletToWalletByMsisdn(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TransactionsApi#transferWalletToWalletByMsisdn");
            e.printStackTrace();
        }
    }
}
TransferWalletToWalletByMsisdnRestRequest *body = ; // 
String *xApiKey = xApiKey_example; // API Key
BigDecimal *xAuthVersion = 1.2; // Auth version
String *xRndKey = xRndKey_example; // Random key
String *xSignature = xSignature_example; // Hashed signature
String *xAccessToken = xAccessToken_example; // Access Token (optional)

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

// Transfer Wallet to Wallet by Msisdn
[apiInstance transferWalletToWalletByMsisdnWith:body
    xApiKey:xApiKey
    xAuthVersion:xAuthVersion
    xRndKey:xRndKey
    xSignature:xSignature
    xAccessToken:xAccessToken
              completionHandler: ^(ResponseTransferWalletToWalletByMsisdnRestResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WalletBffApi = require('wallet_bff_api');

var api = new WalletBffApi.TransactionsApi()
var body = ; // {{TransferWalletToWalletByMsisdnRestRequest}} 
var xApiKey = xApiKey_example; // {{String}} API Key
var xAuthVersion = 1.2; // {{BigDecimal}} Auth version
var xRndKey = xRndKey_example; // {{String}} Random key
var xSignature = xSignature_example; // {{String}} Hashed signature
var opts = { 
  'xAccessToken': xAccessToken_example // {{String}} Access Token
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.transferWalletToWalletByMsisdn(bodyxApiKeyxAuthVersionxRndKeyxSignature, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class transferWalletToWalletByMsisdnExample
    {
        public void main()
        {

            var apiInstance = new TransactionsApi();
            var body = new TransferWalletToWalletByMsisdnRestRequest(); // TransferWalletToWalletByMsisdnRestRequest | 
            var xApiKey = xApiKey_example;  // String | API Key
            var xAuthVersion = 1.2;  // BigDecimal | Auth version
            var xRndKey = xRndKey_example;  // String | Random key
            var xSignature = xSignature_example;  // String | Hashed signature
            var xAccessToken = xAccessToken_example;  // String | Access Token (optional) 

            try
            {
                // Transfer Wallet to Wallet by Msisdn
                ResponseTransferWalletToWalletByMsisdnRestResponse result = apiInstance.transferWalletToWalletByMsisdn(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.transferWalletToWalletByMsisdn: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTransactionsApi();
$body = ; // TransferWalletToWalletByMsisdnRestRequest | 
$xApiKey = xApiKey_example; // String | API Key
$xAuthVersion = 1.2; // BigDecimal | Auth version
$xRndKey = xRndKey_example; // String | Random key
$xSignature = xSignature_example; // String | Hashed signature
$xAccessToken = xAccessToken_example; // String | Access Token

try {
    $result = $api_instance->transferWalletToWalletByMsisdn($body, $xApiKey, $xAuthVersion, $xRndKey, $xSignature, $xAccessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TransactionsApi->transferWalletToWalletByMsisdn: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TransactionsApi;

my $api_instance = WWW::SwaggerClient::TransactionsApi->new();
my $body = WWW::SwaggerClient::Object::TransferWalletToWalletByMsisdnRestRequest->new(); # TransferWalletToWalletByMsisdnRestRequest | 
my $xApiKey = xApiKey_example; # String | API Key
my $xAuthVersion = 1.2; # BigDecimal | Auth version
my $xRndKey = xRndKey_example; # String | Random key
my $xSignature = xSignature_example; # String | Hashed signature
my $xAccessToken = xAccessToken_example; # String | Access Token

eval { 
    my $result = $api_instance->transferWalletToWalletByMsisdn(body => $body, xApiKey => $xApiKey, xAuthVersion => $xAuthVersion, xRndKey => $xRndKey, xSignature => $xSignature, xAccessToken => $xAccessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TransactionsApi->transferWalletToWalletByMsisdn: $@\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.TransactionsApi()
body =  # TransferWalletToWalletByMsisdnRestRequest | 
xApiKey = xApiKey_example # String | API Key
xAuthVersion = 1.2 # BigDecimal | Auth version
xRndKey = xRndKey_example # String | Random key
xSignature = xSignature_example # String | Hashed signature
xAccessToken = xAccessToken_example # String | Access Token (optional)

try: 
    # Transfer Wallet to Wallet by Msisdn
    api_response = api_instance.transfer_wallet_to_wallet_by_msisdn(body, xApiKey, xAuthVersion, xRndKey, xSignature, xAccessToken=xAccessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TransactionsApi->transferWalletToWalletByMsisdn: %s\n" % e)

Parameters

Header parameters
Name Description
x-access-token
String
Access Token
x-api-key*
String
API Key
Required
x-auth-version*
BigDecimal
Auth version
Required
x-rnd-key*
String
Random key
Required
x-signature*
String
Hashed signature
Required
Body parameters
Name Description
body *

Responses

Status: 200 - OK

Status: 400 - Bad Request

Status: 401 - Unauthorized

Status: 404 - Not Found

Status: 422 - Unprocessable Entity

Status: 500 - Internal Server Error