production
development
https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb
production
development
https://site2.sibsapimarket.com:8445/sibs-qly/apimarket-sb
production
development
https://sandbox.qly.sibspayments.com
Paths
/{id}/token/purchase
post /{id}/token/purchase
input
Required in body
object
id
Required in path
string
Content-Type
Optional in header
string
application/json
text/plain
text/plain
Accept
Optional in header
string
application/json
text/plain
text/plain
200
200 OK
Example Request
curl --request POST \
--url https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb/sibs/spg/v1/payments/REPLACE_ID/token/purchase \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"info":{"deviceInfo":{"browserAcceptHeader":"36703647224523","browserJavaEnabled":"pobze","browserLanguage":"TJ","browserColorDepth":"#26e8f4","browserScreenHeight":"cazbujlobuldu","browserScreenWidth":"4237488598024192","browserTZ":"pefo","browserUserAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36","systemFamily":"najucolo","systemVersion":"hisjilapewuginki","systemArchitecture":"nibgilvenupha","deviceManufacturer":"taigoboaledewk","deviceModel":"zumopossupkonn","deviceID":"1173160802123776","applicationName":"Steve Obrien","applicationVersion":"koherucipobli","geoLocalization":"lemewis","ipAddress":"161.0.133.113"},"customerInfo":[{"key":"pano","value":"72.74"},{"key":"lobhusku","value":"65.66"},{"key":"rimkom","value":"41.37"}]},"actionProcessed":{"id":"6700520775352320","type":"THREEDS_METHOD","executed":true},"tokenInfo":{"tokenType":"52bc678f5e1da6c87d3fae052a53d3bf0623e39b98703e01be0c94e7e8ab7c6b","value":"6.71","secureCode":"kunaiwi"}}'
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb/sibs/spg/v1/payments/REPLACE_ID/token/purchase")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request["accept"] = 'application/json'
request.body = "{\"info\":{\"deviceInfo\":{\"browserAcceptHeader\":\"36703647224523\",\"browserJavaEnabled\":\"pobze\",\"browserLanguage\":\"TJ\",\"browserColorDepth\":\"#26e8f4\",\"browserScreenHeight\":\"cazbujlobuldu\",\"browserScreenWidth\":\"4237488598024192\",\"browserTZ\":\"pefo\",\"browserUserAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\"systemFamily\":\"najucolo\",\"systemVersion\":\"hisjilapewuginki\",\"systemArchitecture\":\"nibgilvenupha\",\"deviceManufacturer\":\"taigoboaledewk\",\"deviceModel\":\"zumopossupkonn\",\"deviceID\":\"1173160802123776\",\"applicationName\":\"Steve Obrien\",\"applicationVersion\":\"koherucipobli\",\"geoLocalization\":\"lemewis\",\"ipAddress\":\"161.0.133.113\"},\"customerInfo\":[{\"key\":\"pano\",\"value\":\"72.74\"},{\"key\":\"lobhusku\",\"value\":\"65.66\"},{\"key\":\"rimkom\",\"value\":\"41.37\"}]},\"actionProcessed\":{\"id\":\"6700520775352320\",\"type\":\"THREEDS_METHOD\",\"executed\":true},\"tokenInfo\":{\"tokenType\":\"52bc678f5e1da6c87d3fae052a53d3bf0623e39b98703e01be0c94e7e8ab7c6b\",\"value\":\"6.71\",\"secureCode\":\"kunaiwi\"}}"
response = http.request(request)
puts response.read_body
import http.client
conn = http.client.HTTPSConnection("site1.sibsapimarket.com:8445")
payload = "{\"info\":{\"deviceInfo\":{\"browserAcceptHeader\":\"36703647224523\",\"browserJavaEnabled\":\"pobze\",\"browserLanguage\":\"TJ\",\"browserColorDepth\":\"#26e8f4\",\"browserScreenHeight\":\"cazbujlobuldu\",\"browserScreenWidth\":\"4237488598024192\",\"browserTZ\":\"pefo\",\"browserUserAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\"systemFamily\":\"najucolo\",\"systemVersion\":\"hisjilapewuginki\",\"systemArchitecture\":\"nibgilvenupha\",\"deviceManufacturer\":\"taigoboaledewk\",\"deviceModel\":\"zumopossupkonn\",\"deviceID\":\"1173160802123776\",\"applicationName\":\"Steve Obrien\",\"applicationVersion\":\"koherucipobli\",\"geoLocalization\":\"lemewis\",\"ipAddress\":\"161.0.133.113\"},\"customerInfo\":[{\"key\":\"pano\",\"value\":\"72.74\"},{\"key\":\"lobhusku\",\"value\":\"65.66\"},{\"key\":\"rimkom\",\"value\":\"41.37\"}]},\"actionProcessed\":{\"id\":\"6700520775352320\",\"type\":\"THREEDS_METHOD\",\"executed\":true},\"tokenInfo\":{\"tokenType\":\"52bc678f5e1da6c87d3fae052a53d3bf0623e39b98703e01be0c94e7e8ab7c6b\",\"value\":\"6.71\",\"secureCode\":\"kunaiwi\"}}"
headers = {
'content-type': "application/json",
'accept': "application/json"
}
conn.request("POST", "/sibs-qly/apimarket-sb/sibs/spg/v1/payments/REPLACE_ID/token/purchase", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "8445",
CURLOPT_URL => "https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb/sibs/spg/v1/payments/REPLACE_ID/token/purchase",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "{\"info\":{\"deviceInfo\":{\"browserAcceptHeader\":\"36703647224523\",\"browserJavaEnabled\":\"pobze\",\"browserLanguage\":\"TJ\",\"browserColorDepth\":\"#26e8f4\",\"browserScreenHeight\":\"cazbujlobuldu\",\"browserScreenWidth\":\"4237488598024192\",\"browserTZ\":\"pefo\",\"browserUserAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\"systemFamily\":\"najucolo\",\"systemVersion\":\"hisjilapewuginki\",\"systemArchitecture\":\"nibgilvenupha\",\"deviceManufacturer\":\"taigoboaledewk\",\"deviceModel\":\"zumopossupkonn\",\"deviceID\":\"1173160802123776\",\"applicationName\":\"Steve Obrien\",\"applicationVersion\":\"koherucipobli\",\"geoLocalization\":\"lemewis\",\"ipAddress\":\"161.0.133.113\"},\"customerInfo\":[{\"key\":\"pano\",\"value\":\"72.74\"},{\"key\":\"lobhusku\",\"value\":\"65.66\"},{\"key\":\"rimkom\",\"value\":\"41.37\"}]},\"actionProcessed\":{\"id\":\"6700520775352320\",\"type\":\"THREEDS_METHOD\",\"executed\":true},\"tokenInfo\":{\"tokenType\":\"52bc678f5e1da6c87d3fae052a53d3bf0623e39b98703e01be0c94e7e8ab7c6b\",\"value\":\"6.71\",\"secureCode\":\"kunaiwi\"}}",
CURLOPT_HTTPHEADER => [
"accept: application/json",
"content-type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"info\":{\"deviceInfo\":{\"browserAcceptHeader\":\"36703647224523\",\"browserJavaEnabled\":\"pobze\",\"browserLanguage\":\"TJ\",\"browserColorDepth\":\"#26e8f4\",\"browserScreenHeight\":\"cazbujlobuldu\",\"browserScreenWidth\":\"4237488598024192\",\"browserTZ\":\"pefo\",\"browserUserAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\"systemFamily\":\"najucolo\",\"systemVersion\":\"hisjilapewuginki\",\"systemArchitecture\":\"nibgilvenupha\",\"deviceManufacturer\":\"taigoboaledewk\",\"deviceModel\":\"zumopossupkonn\",\"deviceID\":\"1173160802123776\",\"applicationName\":\"Steve Obrien\",\"applicationVersion\":\"koherucipobli\",\"geoLocalization\":\"lemewis\",\"ipAddress\":\"161.0.133.113\"},\"customerInfo\":[{\"key\":\"pano\",\"value\":\"72.74\"},{\"key\":\"lobhusku\",\"value\":\"65.66\"},{\"key\":\"rimkom\",\"value\":\"41.37\"}]},\"actionProcessed\":{\"id\":\"6700520775352320\",\"type\":\"THREEDS_METHOD\",\"executed\":true},\"tokenInfo\":{\"tokenType\":\"52bc678f5e1da6c87d3fae052a53d3bf0623e39b98703e01be0c94e7e8ab7c6b\",\"value\":\"6.71\",\"secureCode\":\"kunaiwi\"}}");
Request request = new Request.Builder()
.url("https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb/sibs/spg/v1/payments/REPLACE_ID/token/purchase")
.post(body)
.addHeader("content-type", "application/json")
.addHeader("accept", "application/json")
.build();
Response response = client.newCall(request).execute();
const request = require('request');
const options = {
method: 'POST',
url: 'https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb/sibs/spg/v1/payments/REPLACE_ID/token/purchase',
headers: {'content-type': 'application/json', accept: 'application/json'},
body: {
info: {
deviceInfo: {
browserAcceptHeader: '36703647224523',
browserJavaEnabled: 'pobze',
browserLanguage: 'TJ',
browserColorDepth: '#26e8f4',
browserScreenHeight: 'cazbujlobuldu',
browserScreenWidth: '4237488598024192',
browserTZ: 'pefo',
browserUserAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36',
systemFamily: 'najucolo',
systemVersion: 'hisjilapewuginki',
systemArchitecture: 'nibgilvenupha',
deviceManufacturer: 'taigoboaledewk',
deviceModel: 'zumopossupkonn',
deviceID: '1173160802123776',
applicationName: 'Steve Obrien',
applicationVersion: 'koherucipobli',
geoLocalization: 'lemewis',
ipAddress: '161.0.133.113'
},
customerInfo: [
{key: 'pano', value: '72.74'},
{key: 'lobhusku', value: '65.66'},
{key: 'rimkom', value: '41.37'}
]
},
actionProcessed: {id: '6700520775352320', type: 'THREEDS_METHOD', executed: true},
tokenInfo: {
tokenType: '52bc678f5e1da6c87d3fae052a53d3bf0623e39b98703e01be0c94e7e8ab7c6b',
value: '6.71',
secureCode: 'kunaiwi'
}
},
json: true
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb/sibs/spg/v1/payments/REPLACE_ID/token/purchase"
payload := strings.NewReader("{\"info\":{\"deviceInfo\":{\"browserAcceptHeader\":\"36703647224523\",\"browserJavaEnabled\":\"pobze\",\"browserLanguage\":\"TJ\",\"browserColorDepth\":\"#26e8f4\",\"browserScreenHeight\":\"cazbujlobuldu\",\"browserScreenWidth\":\"4237488598024192\",\"browserTZ\":\"pefo\",\"browserUserAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\"systemFamily\":\"najucolo\",\"systemVersion\":\"hisjilapewuginki\",\"systemArchitecture\":\"nibgilvenupha\",\"deviceManufacturer\":\"taigoboaledewk\",\"deviceModel\":\"zumopossupkonn\",\"deviceID\":\"1173160802123776\",\"applicationName\":\"Steve Obrien\",\"applicationVersion\":\"koherucipobli\",\"geoLocalization\":\"lemewis\",\"ipAddress\":\"161.0.133.113\"},\"customerInfo\":[{\"key\":\"pano\",\"value\":\"72.74\"},{\"key\":\"lobhusku\",\"value\":\"65.66\"},{\"key\":\"rimkom\",\"value\":\"41.37\"}]},\"actionProcessed\":{\"id\":\"6700520775352320\",\"type\":\"THREEDS_METHOD\",\"executed\":true},\"tokenInfo\":{\"tokenType\":\"52bc678f5e1da6c87d3fae052a53d3bf0623e39b98703e01be0c94e7e8ab7c6b\",\"value\":\"6.71\",\"secureCode\":\"kunaiwi\"}}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("content-type", "application/json")
req.Header.Add("accept", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import Foundation
let headers = [
"content-type": "application/json",
"accept": "application/json"
]
let parameters = [
"info": [
"deviceInfo": [
"browserAcceptHeader": "36703647224523",
"browserJavaEnabled": "pobze",
"browserLanguage": "TJ",
"browserColorDepth": "#26e8f4",
"browserScreenHeight": "cazbujlobuldu",
"browserScreenWidth": "4237488598024192",
"browserTZ": "pefo",
"browserUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
"systemFamily": "najucolo",
"systemVersion": "hisjilapewuginki",
"systemArchitecture": "nibgilvenupha",
"deviceManufacturer": "taigoboaledewk",
"deviceModel": "zumopossupkonn",
"deviceID": "1173160802123776",
"applicationName": "Steve Obrien",
"applicationVersion": "koherucipobli",
"geoLocalization": "lemewis",
"ipAddress": "161.0.133.113"
],
"customerInfo": [
[
"key": "pano",
"value": "72.74"
],
[
"key": "lobhusku",
"value": "65.66"
],
[
"key": "rimkom",
"value": "41.37"
]
]
],
"actionProcessed": [
"id": "6700520775352320",
"type": "THREEDS_METHOD",
"executed": true
],
"tokenInfo": [
"tokenType": "52bc678f5e1da6c87d3fae052a53d3bf0623e39b98703e01be0c94e7e8ab7c6b",
"value": "6.71",
"secureCode": "kunaiwi"
]
] as [String : Any]
let postData = JSONSerialization.data(withJSONObject: parameters, options: [])
let request = NSMutableURLRequest(url: NSURL(string: "https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb/sibs/spg/v1/payments/REPLACE_ID/token/purchase")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data
let session = UR
import Foundation
let headers = [
"content-type": "application/json",
"accept": "application/json"
]
let parameters = [
"info": [
"deviceInfo": [
"browserAcceptHeader": "36703647224523",
"browserJavaEnabled": "pobze",
"browserLanguage": "TJ",
"browserColorDepth": "#26e8f4",
"browserScreenHeight": "cazbujlobuldu",
"browserScreenWidth": "4237488598024192",
"browserTZ": "pefo",
"browserUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
"systemFamily": "najucolo",
"systemVersion": "hisjilapewuginki",
"systemArchitecture": "nibgilvenupha",
"deviceManufacturer": "taigoboaledewk",
"deviceModel": "zumopossupkonn",
"deviceID": "1173160802123776",
"applicationName": "Steve Obrien",
"applicationVersion": "koherucipobli",
"geoLocalization": "lemewis",
"ipAddress": "161.0.133.113"
],
"customerInfo": [
[
"key": "pano",
"value": "72.74"
],
[
"key": "lobhusku",
"value": "65.66"
],
[
"key": "rimkom",
"value": "41.37"
]
]
],
"actionProcessed": [
"id": "6700520775352320",
"type": "THREEDS_METHOD",
"executed": true
],
"tokenInfo": [
"tokenType": "52bc678f5e1da6c87d3fae052a53d3bf0623e39b98703e01be0c94e7e8ab7c6b",
"value": "6.71",
"secureCode": "kunaiwi"
]
] as [String : Any]
let postData = JSONSerialization.data(withJSONObject: parameters, options: [])
let request = NSMutableURLRequest(url: NSURL(string: "https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb/sibs/spg/v1/payments/REPLACE_ID/token/purchase")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
x
Example Response
POST https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb/sibs/spg/v1/payments/{id}/token/purchase
{
"returnStatus": {
"statusCode": "000",
"statusMsg": "Success",
"statusDescription": "Zakhelid ku rizoghor fopnit undeb ucucol hihli zap jewfu goz pizmer ta cinivaro pen pak obetsa fo."
},
"transactionID": "42f59038f3f14e618d091da8bf3b717e9999",
"merchant": {
"terminalId": "21451",
"channel": "web",
"merchantTransactionId": "863b730df285443f9a60ca404e0085fd1234"
},
"paymentType": "ibitahu",
"actionResponse": {
"id": "6098032500146176",
"type": "puwumrenanm",
"data": {
"url": "http://hi.pg/enino",
"params": [
{
"name": "Marian Maldonado",
"data": "zaijowib"
},
{
"name": "Wayne Byrd",
"data": "kamuvahidse"
},
{
"name": "Ernest Craig",
"data": "mozizozotit"
}
]
}
},
"tokenResponse": {
"tokenName": "132b35fecf8156d7df76748e331966a5271a82833ad6701d3b4212b17780416f",
"tokenType": "21446ee4e1bbcd0d9a07d
{
"returnStatus": {
"statusCode": "000",
"statusMsg": "Success",
"statusDescription": "Zakhelid ku rizoghor fopnit undeb ucucol hihli zap jewfu goz pizmer ta cinivaro pen pak obetsa fo."
},
"transactionID": "42f59038f3f14e618d091da8bf3b717e9999",
"merchant": {
"terminalId": "21451",
"channel": "web",
"merchantTransactionId": "863b730df285443f9a60ca404e0085fd1234"
},
"paymentType": "ibitahu",
"actionResponse": {
"id": "6098032500146176",
"type": "puwumrenanm",
"data": {
"url": "http://hi.pg/enino",
"params": [
{
"name": "Marian Maldonado",
"data": "zaijowib"
},
{
"name": "Wayne Byrd",
"data": "kamuvahidse"
},
{
"name": "Ernest Craig",
"data": "mozizozotit"
}
]
}
},
"tokenResponse": {
"tokenName": "132b35fecf8156d7df76748e331966a5271a82833ad6701d3b4212b17780416f",
"tokenType": "21446ee4e1bbcd0d9a07dc10528b150871ce2cb9d40bbd36513dc82961a992a0",
"value": "84.59",
"maskedPAN": "aririvhig",
"expireDate": "8/28/2029"
},
"recurringTransaction": {
"status": "Success"
},
"execution": {
"startTime": "2020-07-15T12:10:49.131+01:00",
"endTime": "2020-07-15T12:10:49.131+01:00"
},
"paymentStatus": "owosemoloj"
}
x
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
Definitions
{
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string",
"example": "THREEDS_METHOD",
"enum": [
"THREEDS_METHOD",
"THREEDS_CHALLENGE"
]
},
"executed": {
"type": "boolean"
}
},
"additionalProperties": false
}
{
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"data": {
"$ref": "#/definitions/Data"
}
},
"additionalProperties": false
}
{
"properties": {
"url": {
"type": "string"
},
"params": {
"type": "array",
"items": {
"$ref": "#/definitions/Parameter"
}
}
},
"additionalProperties": false
}
Object that defines the customer device information.
{
"properties": {
"browserAcceptHeader": {
"type": "string"
},
"browserJavaEnabled": {
"type": "string"
},
"browserLanguage": {
"type": "string"
},
"browserColorDepth": {
"type": "string"
},
"browserScreenHeight": {
"type": "string"
},
"browserScreenWidth": {
"type": "string"
},
"browserTZ": {
"type": "string"
},
"browserUserAgent": {
"type": "string"
},
"systemFamily": {
"type": "string"
},
"systemVersion": {
"type": "string"
},
"systemArchitecture": {
"type": "string"
},
"deviceManufacturer": {
"type": "string"
},
"deviceModel": {
"type": "string"
},
"deviceID": {
"type": "string"
},
"applicationName": {
"type": "string"
},
"applicationVersion": {
"type": "string"
},
"geoLocalization": {
"type": "string"
},
"ipAddress": {
"type": "string"
}
},
"additionalProperties": false
}
Key value tuple.
{
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
Object that defines the transaction additional information
{
"properties": {
"deviceInfo": {
"$ref": "#/definitions/Deviceinfo",
"description": "Object that defines the customers device predefined information. Check the DeviceInfo definition."
},
"customerInfo": {
"type": "array",
"items": {
"$ref": "#/definitions/ExtendedInfo"
},
"description": "Key Value tuple array."
}
},
"additionalProperties": false
}
Object that defines a Merchant.
{
"properties": {
"terminalId": {
"type": "integer",
"example": "21451",
"description": "Number of the merchant pos Id.",
"format": "int32"
},
"channel": {
"type": "string",
"description": "Type of channel used by the merchant.",
"example": "web"
},
"merchantTransactionId": {
"type": "string",
"description": "Unique id used by the merchant.",
"example": "863b730df285443f9a60ca404e0085fd1234"
}
},
"additionalProperties": false
}
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"data": {
"type": "string"
}
},
"additionalProperties": false
}
{
"type": "object",
"properties": {
"tokenType": {
"type": "string"
},
"value": {
"type": "string"
},
"secureCode": {
"type": "string"
}
},
"additionalProperties": false
}
{
"type": "object",
"properties": {
"tokenName": {
"type": "string"
},
"tokenType": {
"type": "string"
},
"value": {
"type": "string"
},
"maskedPAN": {
"type": "string"
},
"expireDate": {
"type": "string"
}
},
"additionalProperties": false
}
Object that defines the payment operation request fields
{
"properties": {
"info": {
"$ref": "#/definitions/Info",
"description": "Object that defines the aditional info provided by the merchant. Check the Info definition."
},
"actionProcessed": {
"description": "Action to be processed",
"$ref": "#/definitions/ActionProcessed"
},
"tokenInfo": {
"$ref": "#/definitions/TokenInfo"
}
},
"additionalProperties": false
}
{
"properties": {
"returnStatus": {
"description": "Object that defines the Status of the transaction. Check the ReturnStatus definition.",
"$ref": "#/definitions/ReturnStatus"
},
"transactionID": {
"type": "string",
"description": "Backend unique identify of the transaction.",
"example": "42f59038f3f14e618d091da8bf3b717e9999"
},
"merchant": {
"description": "Object that defines the Merchant. Check the Merchant definition.",
"$ref": "#/definitions/Merchant"
},
"paymentType": {
"type": "string",
"description": "Payment type used"
},
"actionResponse": {
"description": "Action to perform",
"$ref": "#/definitions/ActionReponse"
},
"tokenResponse": {
"$ref": "#/definitions/TokenResponse"
},
"recurringTransaction": {
"description": "Object that defines a Recurring Transaction. Check the Recurring Transaction definition.",
"$ref": "#/definitions/RecurringTransactionOutput"
},
"execution": {
"description": "Object that defines an Execution. See the Execution definition.",
"example": "",
"$ref": "#/definitions/Execution"
},
"paymentStatus": {
"type": "string",
"description": "Status of the payment."
}
},
"additionalProperties": false
}
Object that defines the status of the processed transaction.
{
"properties": {
"statusCode": {
"type": "string",
"description": "Identifier code of the processed transaction status.",
"example": "000"
},
"statusMsg": {
"type": "string",
"description": "Message of the processed transaction status.",
"example": "Success"
},
"statusDescription": {
"type": "string",
"description": "Description of the processed transaction status."
}
},
"additionalProperties": false
}
Object that encapsulates technical execution information.
{
"properties": {
"startTime": {
"type": "string",
"description": "Time of the acceptance of the request by the API.",
"format": "date-time",
"example": "2020-07-15T12:10:49.131+01:00"
},
"endTime": {
"type": "string",
"description": "Time of the response to the request by the API.",
"format": "date-time",
"example": "2020-07-15T12:10:49.131+01:00"
}
},
"additionalProperties": false
}
{
"properties": {
"status": {
"type": "string",
"description": "Recurring Transaction outcome.",
"example": "Success"
}
},
"additionalProperties": false
}