Platform Consumer Reverse API

RequestFromGPToJBPCPlatform

balance

Balance


/balance

Usage and SDK Samples

curl -X POST\
-H "X-Request-Sign: [[apiKey]]"\
-H "Accept: application/json,string"\
-H "Content-Type: application/json"\
"https://BASE_URL/api-reverse/balance"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RequestFromGPToJBPCPlatformApi;

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

public class RequestFromGPToJBPCPlatformApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: HMAC-SHA256
        ApiKeyAuth HMAC-SHA256 = (ApiKeyAuth) defaultClient.getAuthentication("HMAC-SHA256");
        HMAC-SHA256.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //HMAC-SHA256.setApiKeyPrefix("Token");

        RequestFromGPToJBPCPlatformApi apiInstance = new RequestFromGPToJBPCPlatformApi();
        BalanceRequest body = ; // BalanceRequest | 
        String contentType = contentType_example; // String | 
        X-Request-Sign xRequestSign = ; // X-Request-Sign | 
        try {
            BalanceResponse result = apiInstance.balance(body, contentType, xRequestSign);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequestFromGPToJBPCPlatformApi#balance");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RequestFromGPToJBPCPlatformApi;

public class RequestFromGPToJBPCPlatformApiExample {

    public static void main(String[] args) {
        RequestFromGPToJBPCPlatformApi apiInstance = new RequestFromGPToJBPCPlatformApi();
        BalanceRequest body = ; // BalanceRequest | 
        String contentType = contentType_example; // String | 
        X-Request-Sign xRequestSign = ; // X-Request-Sign | 
        try {
            BalanceResponse result = apiInstance.balance(body, contentType, xRequestSign);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequestFromGPToJBPCPlatformApi#balance");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: HMAC-SHA256)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-Request-Sign"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-Request-Sign"];
BalanceRequest *body = ; // 
String *contentType = contentType_example; // 
X-Request-Sign *xRequestSign = ; // 

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

// Balance
[apiInstance balanceWith:body
    contentType:contentType
    xRequestSign:xRequestSign
              completionHandler: ^(BalanceResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PlatformConsumerReverseApi = require('platform_consumer_reverse_api');
var defaultClient = PlatformConsumerReverseApi.ApiClient.instance;

// Configure API key authorization: HMAC-SHA256
var HMAC-SHA256 = defaultClient.authentications['HMAC-SHA256'];
HMAC-SHA256.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//HMAC-SHA256.apiKeyPrefix['X-Request-Sign'] = "Token"

var api = new PlatformConsumerReverseApi.RequestFromGPToJBPCPlatformApi()
var body = ; // {{BalanceRequest}} 
var contentType = contentType_example; // {{String}} 
var xRequestSign = ; // {{X-Request-Sign}} 

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

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

            // Configure API key authorization: HMAC-SHA256
            Configuration.Default.ApiKey.Add("X-Request-Sign", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-Request-Sign", "Bearer");

            var apiInstance = new RequestFromGPToJBPCPlatformApi();
            var body = new BalanceRequest(); // BalanceRequest | 
            var contentType = contentType_example;  // String | 
            var xRequestSign = new X-Request-Sign(); // X-Request-Sign | 

            try
            {
                // Balance
                BalanceResponse result = apiInstance.balance(body, contentType, xRequestSign);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RequestFromGPToJBPCPlatformApi.balance: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: HMAC-SHA256
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Request-Sign', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Request-Sign', 'Bearer');

$api_instance = new Swagger\Client\ApiRequestFromGPToJBPCPlatformApi();
$body = ; // BalanceRequest | 
$contentType = contentType_example; // String | 
$xRequestSign = ; // X-Request-Sign | 

try {
    $result = $api_instance->balance($body, $contentType, $xRequestSign);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RequestFromGPToJBPCPlatformApi->balance: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RequestFromGPToJBPCPlatformApi;

# Configure API key authorization: HMAC-SHA256
$WWW::SwaggerClient::Configuration::api_key->{'X-Request-Sign'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-Request-Sign'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RequestFromGPToJBPCPlatformApi->new();
my $body = WWW::SwaggerClient::Object::BalanceRequest->new(); # BalanceRequest | 
my $contentType = contentType_example; # String | 
my $xRequestSign = ; # X-Request-Sign | 

eval { 
    my $result = $api_instance->balance(body => $body, contentType => $contentType, xRequestSign => $xRequestSign);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RequestFromGPToJBPCPlatformApi->balance: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: HMAC-SHA256
swagger_client.configuration.api_key['X-Request-Sign'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-Request-Sign'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RequestFromGPToJBPCPlatformApi()
body =  # BalanceRequest | 
contentType = contentType_example # String | 
xRequestSign =  # X-Request-Sign | 

try: 
    # Balance
    api_response = api_instance.balance(body, contentType, xRequestSign)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RequestFromGPToJBPCPlatformApi->balance: %s\n" % e)

Parameters

Header parameters
Name Description
Content-Type*
String
Required
x-request-sign*
X-Request-Sign
Required
Body parameters
Name Description
body *

Responses

Status: 200 -

Status: 400 - The request is deemed invalid for its Signature or Game Provider Id

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: default - Unexpected error


bet

Bet


/bet

Usage and SDK Samples

curl -X POST\
-H "X-Request-Sign: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://BASE_URL/api-reverse/bet"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RequestFromGPToJBPCPlatformApi;

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

public class RequestFromGPToJBPCPlatformApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: HMAC-SHA256
        ApiKeyAuth HMAC-SHA256 = (ApiKeyAuth) defaultClient.getAuthentication("HMAC-SHA256");
        HMAC-SHA256.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //HMAC-SHA256.setApiKeyPrefix("Token");

        RequestFromGPToJBPCPlatformApi apiInstance = new RequestFromGPToJBPCPlatformApi();
        BetRequest body = ; // BetRequest | 
        String contentType = contentType_example; // String | 
        X-Request-Sign xRequestSign = ; // X-Request-Sign | 
        try {
            BetResponse result = apiInstance.bet(body, contentType, xRequestSign);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequestFromGPToJBPCPlatformApi#bet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RequestFromGPToJBPCPlatformApi;

public class RequestFromGPToJBPCPlatformApiExample {

    public static void main(String[] args) {
        RequestFromGPToJBPCPlatformApi apiInstance = new RequestFromGPToJBPCPlatformApi();
        BetRequest body = ; // BetRequest | 
        String contentType = contentType_example; // String | 
        X-Request-Sign xRequestSign = ; // X-Request-Sign | 
        try {
            BetResponse result = apiInstance.bet(body, contentType, xRequestSign);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequestFromGPToJBPCPlatformApi#bet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: HMAC-SHA256)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-Request-Sign"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-Request-Sign"];
BetRequest *body = ; // 
String *contentType = contentType_example; // 
X-Request-Sign *xRequestSign = ; // 

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

// Bet
[apiInstance betWith:body
    contentType:contentType
    xRequestSign:xRequestSign
              completionHandler: ^(BetResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PlatformConsumerReverseApi = require('platform_consumer_reverse_api');
var defaultClient = PlatformConsumerReverseApi.ApiClient.instance;

// Configure API key authorization: HMAC-SHA256
var HMAC-SHA256 = defaultClient.authentications['HMAC-SHA256'];
HMAC-SHA256.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//HMAC-SHA256.apiKeyPrefix['X-Request-Sign'] = "Token"

var api = new PlatformConsumerReverseApi.RequestFromGPToJBPCPlatformApi()
var body = ; // {{BetRequest}} 
var contentType = contentType_example; // {{String}} 
var xRequestSign = ; // {{X-Request-Sign}} 

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

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

            // Configure API key authorization: HMAC-SHA256
            Configuration.Default.ApiKey.Add("X-Request-Sign", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-Request-Sign", "Bearer");

            var apiInstance = new RequestFromGPToJBPCPlatformApi();
            var body = new BetRequest(); // BetRequest | 
            var contentType = contentType_example;  // String | 
            var xRequestSign = new X-Request-Sign(); // X-Request-Sign | 

            try
            {
                // Bet
                BetResponse result = apiInstance.bet(body, contentType, xRequestSign);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RequestFromGPToJBPCPlatformApi.bet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: HMAC-SHA256
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Request-Sign', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Request-Sign', 'Bearer');

$api_instance = new Swagger\Client\ApiRequestFromGPToJBPCPlatformApi();
$body = ; // BetRequest | 
$contentType = contentType_example; // String | 
$xRequestSign = ; // X-Request-Sign | 

try {
    $result = $api_instance->bet($body, $contentType, $xRequestSign);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RequestFromGPToJBPCPlatformApi->bet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RequestFromGPToJBPCPlatformApi;

# Configure API key authorization: HMAC-SHA256
$WWW::SwaggerClient::Configuration::api_key->{'X-Request-Sign'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-Request-Sign'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RequestFromGPToJBPCPlatformApi->new();
my $body = WWW::SwaggerClient::Object::BetRequest->new(); # BetRequest | 
my $contentType = contentType_example; # String | 
my $xRequestSign = ; # X-Request-Sign | 

eval { 
    my $result = $api_instance->bet(body => $body, contentType => $contentType, xRequestSign => $xRequestSign);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RequestFromGPToJBPCPlatformApi->bet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: HMAC-SHA256
swagger_client.configuration.api_key['X-Request-Sign'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-Request-Sign'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RequestFromGPToJBPCPlatformApi()
body =  # BetRequest | 
contentType = contentType_example # String | 
xRequestSign =  # X-Request-Sign | 

try: 
    # Bet
    api_response = api_instance.bet(body, contentType, xRequestSign)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RequestFromGPToJBPCPlatformApi->bet: %s\n" % e)

Parameters

Header parameters
Name Description
Content-Type*
String
Required
X-Request-Sign*
X-Request-Sign
Required
Body parameters
Name Description
body *

Responses

Status: 200 -

Status: 401 - Unauthorized

Status: 403 - Forbidden

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 429 - Forbidden

Status: default - Forbidden


refund

Refund


/refund

Usage and SDK Samples

curl -X POST\
-H "X-Request-Sign: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://BASE_URL/api-reverse/refund"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RequestFromGPToJBPCPlatformApi;

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

public class RequestFromGPToJBPCPlatformApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: HMAC-SHA256
        ApiKeyAuth HMAC-SHA256 = (ApiKeyAuth) defaultClient.getAuthentication("HMAC-SHA256");
        HMAC-SHA256.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //HMAC-SHA256.setApiKeyPrefix("Token");

        RequestFromGPToJBPCPlatformApi apiInstance = new RequestFromGPToJBPCPlatformApi();
        RefundRequest body = ; // RefundRequest | 
        String contentType = contentType_example; // String | 
        X-Request-Sign xRequestSign = ; // X-Request-Sign | 
        try {
            RefundResponse result = apiInstance.refund(body, contentType, xRequestSign);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequestFromGPToJBPCPlatformApi#refund");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RequestFromGPToJBPCPlatformApi;

public class RequestFromGPToJBPCPlatformApiExample {

    public static void main(String[] args) {
        RequestFromGPToJBPCPlatformApi apiInstance = new RequestFromGPToJBPCPlatformApi();
        RefundRequest body = ; // RefundRequest | 
        String contentType = contentType_example; // String | 
        X-Request-Sign xRequestSign = ; // X-Request-Sign | 
        try {
            RefundResponse result = apiInstance.refund(body, contentType, xRequestSign);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequestFromGPToJBPCPlatformApi#refund");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: HMAC-SHA256)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-Request-Sign"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-Request-Sign"];
RefundRequest *body = ; // 
String *contentType = contentType_example; // 
X-Request-Sign *xRequestSign = ; // 

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

// Refund
[apiInstance refundWith:body
    contentType:contentType
    xRequestSign:xRequestSign
              completionHandler: ^(RefundResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PlatformConsumerReverseApi = require('platform_consumer_reverse_api');
var defaultClient = PlatformConsumerReverseApi.ApiClient.instance;

// Configure API key authorization: HMAC-SHA256
var HMAC-SHA256 = defaultClient.authentications['HMAC-SHA256'];
HMAC-SHA256.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//HMAC-SHA256.apiKeyPrefix['X-Request-Sign'] = "Token"

var api = new PlatformConsumerReverseApi.RequestFromGPToJBPCPlatformApi()
var body = ; // {{RefundRequest}} 
var contentType = contentType_example; // {{String}} 
var xRequestSign = ; // {{X-Request-Sign}} 

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

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

            // Configure API key authorization: HMAC-SHA256
            Configuration.Default.ApiKey.Add("X-Request-Sign", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-Request-Sign", "Bearer");

            var apiInstance = new RequestFromGPToJBPCPlatformApi();
            var body = new RefundRequest(); // RefundRequest | 
            var contentType = contentType_example;  // String | 
            var xRequestSign = new X-Request-Sign(); // X-Request-Sign | 

            try
            {
                // Refund
                RefundResponse result = apiInstance.refund(body, contentType, xRequestSign);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RequestFromGPToJBPCPlatformApi.refund: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: HMAC-SHA256
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Request-Sign', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Request-Sign', 'Bearer');

$api_instance = new Swagger\Client\ApiRequestFromGPToJBPCPlatformApi();
$body = ; // RefundRequest | 
$contentType = contentType_example; // String | 
$xRequestSign = ; // X-Request-Sign | 

try {
    $result = $api_instance->refund($body, $contentType, $xRequestSign);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RequestFromGPToJBPCPlatformApi->refund: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RequestFromGPToJBPCPlatformApi;

# Configure API key authorization: HMAC-SHA256
$WWW::SwaggerClient::Configuration::api_key->{'X-Request-Sign'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-Request-Sign'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RequestFromGPToJBPCPlatformApi->new();
my $body = WWW::SwaggerClient::Object::RefundRequest->new(); # RefundRequest | 
my $contentType = contentType_example; # String | 
my $xRequestSign = ; # X-Request-Sign | 

eval { 
    my $result = $api_instance->refund(body => $body, contentType => $contentType, xRequestSign => $xRequestSign);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RequestFromGPToJBPCPlatformApi->refund: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: HMAC-SHA256
swagger_client.configuration.api_key['X-Request-Sign'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-Request-Sign'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RequestFromGPToJBPCPlatformApi()
body =  # RefundRequest | 
contentType = contentType_example # String | 
xRequestSign =  # X-Request-Sign | 

try: 
    # Refund
    api_response = api_instance.refund(body, contentType, xRequestSign)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RequestFromGPToJBPCPlatformApi->refund: %s\n" % e)

Parameters

Header parameters
Name Description
Content-Type*
String
Required
X-Request-Sign*
X-Request-Sign
Required
Body parameters
Name Description
body *

Responses

Status: 200 -

Status: 401 - Unauthorized

Status: 403 - Unauthorized

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 429 - Unauthorized

Status: default - Unauthorized


result

Result


/result

Usage and SDK Samples

curl -X POST\
-H "X-Request-Sign: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://BASE_URL/api-reverse/result"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RequestFromGPToJBPCPlatformApi;

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

public class RequestFromGPToJBPCPlatformApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: HMAC-SHA256
        ApiKeyAuth HMAC-SHA256 = (ApiKeyAuth) defaultClient.getAuthentication("HMAC-SHA256");
        HMAC-SHA256.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //HMAC-SHA256.setApiKeyPrefix("Token");

        RequestFromGPToJBPCPlatformApi apiInstance = new RequestFromGPToJBPCPlatformApi();
        ResultRequest body = ; // ResultRequest | 
        String contentType = contentType_example; // String | 
        X-Request-Sign xRequestSign = ; // X-Request-Sign | 
        try {
            ResultResponse result = apiInstance.result(body, contentType, xRequestSign);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequestFromGPToJBPCPlatformApi#result");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RequestFromGPToJBPCPlatformApi;

public class RequestFromGPToJBPCPlatformApiExample {

    public static void main(String[] args) {
        RequestFromGPToJBPCPlatformApi apiInstance = new RequestFromGPToJBPCPlatformApi();
        ResultRequest body = ; // ResultRequest | 
        String contentType = contentType_example; // String | 
        X-Request-Sign xRequestSign = ; // X-Request-Sign | 
        try {
            ResultResponse result = apiInstance.result(body, contentType, xRequestSign);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequestFromGPToJBPCPlatformApi#result");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: HMAC-SHA256)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-Request-Sign"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-Request-Sign"];
ResultRequest *body = ; // 
String *contentType = contentType_example; // 
X-Request-Sign *xRequestSign = ; // 

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

// Result
[apiInstance resultWith:body
    contentType:contentType
    xRequestSign:xRequestSign
              completionHandler: ^(ResultResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PlatformConsumerReverseApi = require('platform_consumer_reverse_api');
var defaultClient = PlatformConsumerReverseApi.ApiClient.instance;

// Configure API key authorization: HMAC-SHA256
var HMAC-SHA256 = defaultClient.authentications['HMAC-SHA256'];
HMAC-SHA256.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//HMAC-SHA256.apiKeyPrefix['X-Request-Sign'] = "Token"

var api = new PlatformConsumerReverseApi.RequestFromGPToJBPCPlatformApi()
var body = ; // {{ResultRequest}} 
var contentType = contentType_example; // {{String}} 
var xRequestSign = ; // {{X-Request-Sign}} 

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

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

            // Configure API key authorization: HMAC-SHA256
            Configuration.Default.ApiKey.Add("X-Request-Sign", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-Request-Sign", "Bearer");

            var apiInstance = new RequestFromGPToJBPCPlatformApi();
            var body = new ResultRequest(); // ResultRequest | 
            var contentType = contentType_example;  // String | 
            var xRequestSign = new X-Request-Sign(); // X-Request-Sign | 

            try
            {
                // Result
                ResultResponse result = apiInstance.result(body, contentType, xRequestSign);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RequestFromGPToJBPCPlatformApi.result: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: HMAC-SHA256
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Request-Sign', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Request-Sign', 'Bearer');

$api_instance = new Swagger\Client\ApiRequestFromGPToJBPCPlatformApi();
$body = ; // ResultRequest | 
$contentType = contentType_example; // String | 
$xRequestSign = ; // X-Request-Sign | 

try {
    $result = $api_instance->result($body, $contentType, $xRequestSign);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RequestFromGPToJBPCPlatformApi->result: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RequestFromGPToJBPCPlatformApi;

# Configure API key authorization: HMAC-SHA256
$WWW::SwaggerClient::Configuration::api_key->{'X-Request-Sign'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-Request-Sign'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RequestFromGPToJBPCPlatformApi->new();
my $body = WWW::SwaggerClient::Object::ResultRequest->new(); # ResultRequest | 
my $contentType = contentType_example; # String | 
my $xRequestSign = ; # X-Request-Sign | 

eval { 
    my $result = $api_instance->result(body => $body, contentType => $contentType, xRequestSign => $xRequestSign);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RequestFromGPToJBPCPlatformApi->result: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: HMAC-SHA256
swagger_client.configuration.api_key['X-Request-Sign'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-Request-Sign'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RequestFromGPToJBPCPlatformApi()
body =  # ResultRequest | 
contentType = contentType_example # String | 
xRequestSign =  # X-Request-Sign | 

try: 
    # Result
    api_response = api_instance.result(body, contentType, xRequestSign)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RequestFromGPToJBPCPlatformApi->result: %s\n" % e)

Parameters

Header parameters
Name Description
Content-Type*
String
Required
X-Request-Sign*
X-Request-Sign
Required
Body parameters
Name Description
body *

Responses

Status: 200 -

Status: 401 - Unauthorized

Status: 403 - Unauthorized

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 429 - Unauthorized

Status: default - Default


RequestFromJBPCPlatformToGP

launchGame

launchGame


/GP_URL

Usage and SDK Samples

curl -X POST\
-H "X-Request-Sign: [[apiKey]]"\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://BASE_URL/api-reverse/GP_URL"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RequestFromJBPCPlatformToGPApi;

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

public class RequestFromJBPCPlatformToGPApiExample {

    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: HMAC-SHA256
        ApiKeyAuth HMAC-SHA256 = (ApiKeyAuth) defaultClient.getAuthentication("HMAC-SHA256");
        HMAC-SHA256.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //HMAC-SHA256.setApiKeyPrefix("Token");

        RequestFromJBPCPlatformToGPApi apiInstance = new RequestFromJBPCPlatformToGPApi();
        LaunchGame body = ; // LaunchGame | 
        String contentType = contentType_example; // String | 
        X-Request-Sign xRequestSign = ; // X-Request-Sign | 
        try {
            launchGameResponse result = apiInstance.launchGame(body, contentType, xRequestSign);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequestFromJBPCPlatformToGPApi#launchGame");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RequestFromJBPCPlatformToGPApi;

public class RequestFromJBPCPlatformToGPApiExample {

    public static void main(String[] args) {
        RequestFromJBPCPlatformToGPApi apiInstance = new RequestFromJBPCPlatformToGPApi();
        LaunchGame body = ; // LaunchGame | 
        String contentType = contentType_example; // String | 
        X-Request-Sign xRequestSign = ; // X-Request-Sign | 
        try {
            launchGameResponse result = apiInstance.launchGame(body, contentType, xRequestSign);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RequestFromJBPCPlatformToGPApi#launchGame");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];
// Configure API key authorization: (authentication scheme: HMAC-SHA256)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"X-Request-Sign"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"X-Request-Sign"];
LaunchGame *body = ; // 
String *contentType = contentType_example; // 
X-Request-Sign *xRequestSign = ; // 

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

// launchGame
[apiInstance launchGameWith:body
    contentType:contentType
    xRequestSign:xRequestSign
              completionHandler: ^(launchGameResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var PlatformConsumerReverseApi = require('platform_consumer_reverse_api');
var defaultClient = PlatformConsumerReverseApi.ApiClient.instance;

// Configure API key authorization: HMAC-SHA256
var HMAC-SHA256 = defaultClient.authentications['HMAC-SHA256'];
HMAC-SHA256.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//HMAC-SHA256.apiKeyPrefix['X-Request-Sign'] = "Token"

var api = new PlatformConsumerReverseApi.RequestFromJBPCPlatformToGPApi()
var body = ; // {{LaunchGame}} 
var contentType = contentType_example; // {{String}} 
var xRequestSign = ; // {{X-Request-Sign}} 

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

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

            // Configure API key authorization: HMAC-SHA256
            Configuration.Default.ApiKey.Add("X-Request-Sign", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("X-Request-Sign", "Bearer");

            var apiInstance = new RequestFromJBPCPlatformToGPApi();
            var body = new LaunchGame(); // LaunchGame | 
            var contentType = contentType_example;  // String | 
            var xRequestSign = new X-Request-Sign(); // X-Request-Sign | 

            try
            {
                // launchGame
                launchGameResponse result = apiInstance.launchGame(body, contentType, xRequestSign);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RequestFromJBPCPlatformToGPApi.launchGame: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: HMAC-SHA256
Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('X-Request-Sign', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Request-Sign', 'Bearer');

$api_instance = new Swagger\Client\ApiRequestFromJBPCPlatformToGPApi();
$body = ; // LaunchGame | 
$contentType = contentType_example; // String | 
$xRequestSign = ; // X-Request-Sign | 

try {
    $result = $api_instance->launchGame($body, $contentType, $xRequestSign);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RequestFromJBPCPlatformToGPApi->launchGame: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RequestFromJBPCPlatformToGPApi;

# Configure API key authorization: HMAC-SHA256
$WWW::SwaggerClient::Configuration::api_key->{'X-Request-Sign'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::SwaggerClient::Configuration::api_key_prefix->{'X-Request-Sign'} = "Bearer";

my $api_instance = WWW::SwaggerClient::RequestFromJBPCPlatformToGPApi->new();
my $body = WWW::SwaggerClient::Object::LaunchGame->new(); # LaunchGame | 
my $contentType = contentType_example; # String | 
my $xRequestSign = ; # X-Request-Sign | 

eval { 
    my $result = $api_instance->launchGame(body => $body, contentType => $contentType, xRequestSign => $xRequestSign);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RequestFromJBPCPlatformToGPApi->launchGame: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: HMAC-SHA256
swagger_client.configuration.api_key['X-Request-Sign'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['X-Request-Sign'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.RequestFromJBPCPlatformToGPApi()
body =  # LaunchGame | 
contentType = contentType_example # String | 
xRequestSign =  # X-Request-Sign | 

try: 
    # launchGame
    api_response = api_instance.launch_game(body, contentType, xRequestSign)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RequestFromJBPCPlatformToGPApi->launchGame: %s\n" % e)

Parameters

Header parameters
Name Description
Content-Type*
String
Required
x-request-sign*
X-Request-Sign
Required
Body parameters
Name Description
body *

Responses

Status: 200 -

Status: 401 - Unauthorized

Status: 403 - Unauthorized

Status: 406 - Not Acceptable

Status: 415 - Unsupported Media Type

Status: 429 - Unauthorized

Status: default - Unauthorized