production
development
https://sandbox.qly.sibspayments.com
production
development
https://site2.sibsapimarket.com:8445/sibs-qly/apimarket-sb
production
development
https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb
Paths
/{id}/card/purchase
post /{id}/card/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://sandbox.qly.sibspayments.com/sibs/spg/v1/payments/REPLACE_ID/card/purchase \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"cardInfo":{"PAN":"9999888877776666","secureCode":"123","validationDate":"2000-06-16T06:06:29.366Z","cardholderName":"Jack Frank","createToken":true},"info":{"deviceInfo":{"browserAcceptHeader":"5476030777297756","browserJavaEnabled":"pueseulpezeca","browserLanguage":"LA","browserColorDepth":"#31e1b8","browserScreenHeight":"pavlafuldujelpa","browserScreenWidth":"2496448010649600","browserTZ":"hotiupfo","browserUserAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36","systemFamily":"jaditbuvoh","systemVersion":"codajlobraogkujd","systemArchitecture":"uncokjoutn","deviceManufacturer":"nechabogmi","deviceModel":"utihesesevi","deviceID":"1898139896250368","applicationName":"Minnie Paul","applicationVersion":"mafjoozr","geoLocalization":"nuclajzowforeono","ipAddress":"74.110.243.135"},"customerInfo":[{"key":"uwvunoz","value":"21.24"},{"key":"esimaponiko","value":"12.49"},{"key":"muahiditagsefed","value":"74"}]},"actionProcessed":{"id":"5201314812264448","type":"THREEDS_METHOD","executed":false},"tokenInfo":{"tokenType":"92d0e74797afc2567691965d57d5aa3254fa705c3444c34b5bf85a9eaedaaad2","value":"5.6","secureCode":"lufuwaciwugu"}}'
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://sandbox.qly.sibspayments.com/sibs/spg/v1/payments/REPLACE_ID/card/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 = "{\"cardInfo\":{\"PAN\":\"9999888877776666\",\"secureCode\":\"123\",\"validationDate\":\"2000-06-16T06:06:29.366Z\",\"cardholderName\":\"Jack Frank\",\"createToken\":true},\"info\":{\"deviceInfo\":{\"browserAcceptHeader\":\"5476030777297756\",\"browserJavaEnabled\":\"pueseulpezeca\",\"browserLanguage\":\"LA\",\"browserColorDepth\":\"#31e1b8\",\"browserScreenHeight\":\"pavlafuldujelpa\",\"browserScreenWidth\":\"2496448010649600\",\"browserTZ\":\"hotiupfo\",\"browserUserAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\"systemFamily\":\"jaditbuvoh\",\"systemVersion\":\"codajlobraogkujd\",\"systemArchitecture\":\"uncokjoutn\",\"deviceManufacturer\":\"nechabogmi\",\"deviceModel\":\"utihesesevi\",\"deviceID\":\"1898139896250368\",\"applicationName\":\"Minnie Paul\",\"applicationVersion\":\"mafjoozr\",\"geoLocalization\":\"nuclajzowforeono\",\"ipAddress\":\"74.110.243.135\"},\"customerInfo\":[{\"key\":\"uwvunoz\",\"value\":\"21.24\"},{\"key\":\"esimaponiko\",\"value\":\"12.49\"},{\"key\":\"muahiditagsefed\",\"value\":\"74\"}]},\"actionProcessed\":{\"id\":\"5201314812264448\",\"type\":\"THREEDS_METHOD\",\"executed\":false},\"tokenInfo\":{\"tokenType\":\"92d0e74797afc2567691965d57d5aa3254fa705c3444c34b5bf85a9eaedaaad2\",\"value\":\"5.6\",\"secureCode\":\"lufuwaciwugu\"}}"
response = http.request(request)
puts response.read_body
import http.client
conn = http.client.HTTPSConnection("sandbox.qly.sibspayments.com")
payload = "{\"cardInfo\":{\"PAN\":\"9999888877776666\",\"secureCode\":\"123\",\"validationDate\":\"2000-06-16T06:06:29.366Z\",\"cardholderName\":\"Jack Frank\",\"createToken\":true},\"info\":{\"deviceInfo\":{\"browserAcceptHeader\":\"5476030777297756\",\"browserJavaEnabled\":\"pueseulpezeca\",\"browserLanguage\":\"LA\",\"browserColorDepth\":\"#31e1b8\",\"browserScreenHeight\":\"pavlafuldujelpa\",\"browserScreenWidth\":\"2496448010649600\",\"browserTZ\":\"hotiupfo\",\"browserUserAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\"systemFamily\":\"jaditbuvoh\",\"systemVersion\":\"codajlobraogkujd\",\"systemArchitecture\":\"uncokjoutn\",\"deviceManufacturer\":\"nechabogmi\",\"deviceModel\":\"utihesesevi\",\"deviceID\":\"1898139896250368\",\"applicationName\":\"Minnie Paul\",\"applicationVersion\":\"mafjoozr\",\"geoLocalization\":\"nuclajzowforeono\",\"ipAddress\":\"74.110.243.135\"},\"customerInfo\":[{\"key\":\"uwvunoz\",\"value\":\"21.24\"},{\"key\":\"esimaponiko\",\"value\":\"12.49\"},{\"key\":\"muahiditagsefed\",\"value\":\"74\"}]},\"actionProcessed\":{\"id\":\"5201314812264448\",\"type\":\"THREEDS_METHOD\",\"executed\":false},\"tokenInfo\":{\"tokenType\":\"92d0e74797afc2567691965d57d5aa3254fa705c3444c34b5bf85a9eaedaaad2\",\"value\":\"5.6\",\"secureCode\":\"lufuwaciwugu\"}}"
headers = {
'content-type': "application/json",
'accept': "application/json"
}
conn.request("POST", "/sibs/spg/v1/payments/REPLACE_ID/card/purchase", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.qly.sibspayments.com/sibs/spg/v1/payments/REPLACE_ID/card/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 => "{\"cardInfo\":{\"PAN\":\"9999888877776666\",\"secureCode\":\"123\",\"validationDate\":\"2000-06-16T06:06:29.366Z\",\"cardholderName\":\"Jack Frank\",\"createToken\":true},\"info\":{\"deviceInfo\":{\"browserAcceptHeader\":\"5476030777297756\",\"browserJavaEnabled\":\"pueseulpezeca\",\"browserLanguage\":\"LA\",\"browserColorDepth\":\"#31e1b8\",\"browserScreenHeight\":\"pavlafuldujelpa\",\"browserScreenWidth\":\"2496448010649600\",\"browserTZ\":\"hotiupfo\",\"browserUserAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\"systemFamily\":\"jaditbuvoh\",\"systemVersion\":\"codajlobraogkujd\",\"systemArchitecture\":\"uncokjoutn\",\"deviceManufacturer\":\"nechabogmi\",\"deviceModel\":\"utihesesevi\",\"deviceID\":\"1898139896250368\",\"applicationName\":\"Minnie Paul\",\"applicationVersion\":\"mafjoozr\",\"geoLocalization\":\"nuclajzowforeono\",\"ipAddress\":\"74.110.243.135\"},\"customerInfo\":[{\"key\":\"uwvunoz\",\"value\":\"21.24\"},{\"key\":\"esimaponiko\",\"value\":\"12.49\"},{\"key\":\"muahiditagsefed\",\"value\":\"74\"}]},\"actionProcessed\":{\"id\":\"5201314812264448\",\"type\":\"THREEDS_METHOD\",\"executed\":false},\"tokenInfo\":{\"tokenType\":\"92d0e74797afc2567691965d57d5aa3254fa705c3444c34b5bf85a9eaedaaad2\",\"value\":\"5.6\",\"secureCode\":\"lufuwaciwugu\"}}",
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, "{\"cardInfo\":{\"PAN\":\"9999888877776666\",\"secureCode\":\"123\",\"validationDate\":\"2000-06-16T06:06:29.366Z\",\"cardholderName\":\"Jack Frank\",\"createToken\":true},\"info\":{\"deviceInfo\":{\"browserAcceptHeader\":\"5476030777297756\",\"browserJavaEnabled\":\"pueseulpezeca\",\"browserLanguage\":\"LA\",\"browserColorDepth\":\"#31e1b8\",\"browserScreenHeight\":\"pavlafuldujelpa\",\"browserScreenWidth\":\"2496448010649600\",\"browserTZ\":\"hotiupfo\",\"browserUserAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\"systemFamily\":\"jaditbuvoh\",\"systemVersion\":\"codajlobraogkujd\",\"systemArchitecture\":\"uncokjoutn\",\"deviceManufacturer\":\"nechabogmi\",\"deviceModel\":\"utihesesevi\",\"deviceID\":\"1898139896250368\",\"applicationName\":\"Minnie Paul\",\"applicationVersion\":\"mafjoozr\",\"geoLocalization\":\"nuclajzowforeono\",\"ipAddress\":\"74.110.243.135\"},\"customerInfo\":[{\"key\":\"uwvunoz\",\"value\":\"21.24\"},{\"key\":\"esimaponiko\",\"value\":\"12.49\"},{\"key\":\"muahiditagsefed\",\"value\":\"74\"}]},\"actionProcessed\":{\"id\":\"5201314812264448\",\"type\":\"THREEDS_METHOD\",\"executed\":false},\"tokenInfo\":{\"tokenType\":\"92d0e74797afc2567691965d57d5aa3254fa705c3444c34b5bf85a9eaedaaad2\",\"value\":\"5.6\",\"secureCode\":\"lufuwaciwugu\"}}");
Request request = new Request.Builder()
.url("https://sandbox.qly.sibspayments.com/sibs/spg/v1/payments/REPLACE_ID/card/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://sandbox.qly.sibspayments.com/sibs/spg/v1/payments/REPLACE_ID/card/purchase',
headers: {'content-type': 'application/json', accept: 'application/json'},
body: {
cardInfo: {
PAN: '9999888877776666',
secureCode: '123',
validationDate: '2000-06-16T06:06:29.366Z',
cardholderName: 'Jack Frank',
createToken: true
},
info: {
deviceInfo: {
browserAcceptHeader: '5476030777297756',
browserJavaEnabled: 'pueseulpezeca',
browserLanguage: 'LA',
browserColorDepth: '#31e1b8',
browserScreenHeight: 'pavlafuldujelpa',
browserScreenWidth: '2496448010649600',
browserTZ: 'hotiupfo',
browserUserAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36',
systemFamily: 'jaditbuvoh',
systemVersion: 'codajlobraogkujd',
systemArchitecture: 'uncokjoutn',
deviceManufacturer: 'nechabogmi',
deviceModel: 'utihesesevi',
deviceID: '1898139896250368',
applicationName: 'Minnie Paul',
applicationVersion: 'mafjoozr',
geoLocalization: 'nuclajzowforeono',
ipAddress: '74.110.243.135'
},
customerInfo: [
{key: 'uwvunoz', value: '21.24'},
{key: 'esimaponiko', value: '12.49'},
{key: 'muahiditagsefed', value: '74'}
]
},
actionProcessed: {id: '5201314812264448', type: 'THREEDS_METHOD', executed: false},
tokenInfo: {
tokenType: '92d0e74797afc2567691965d57d5aa3254fa705c3444c34b5bf85a9eaedaaad2',
value: '5.6',
secureCode: 'lufuwaciwugu'
}
},
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://sandbox.qly.sibspayments.com/sibs/spg/v1/payments/REPLACE_ID/card/purchase"
payload := strings.NewReader("{\"cardInfo\":{\"PAN\":\"9999888877776666\",\"secureCode\":\"123\",\"validationDate\":\"2000-06-16T06:06:29.366Z\",\"cardholderName\":\"Jack Frank\",\"createToken\":true},\"info\":{\"deviceInfo\":{\"browserAcceptHeader\":\"5476030777297756\",\"browserJavaEnabled\":\"pueseulpezeca\",\"browserLanguage\":\"LA\",\"browserColorDepth\":\"#31e1b8\",\"browserScreenHeight\":\"pavlafuldujelpa\",\"browserScreenWidth\":\"2496448010649600\",\"browserTZ\":\"hotiupfo\",\"browserUserAgent\":\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36\",\"systemFamily\":\"jaditbuvoh\",\"systemVersion\":\"codajlobraogkujd\",\"systemArchitecture\":\"uncokjoutn\",\"deviceManufacturer\":\"nechabogmi\",\"deviceModel\":\"utihesesevi\",\"deviceID\":\"1898139896250368\",\"applicationName\":\"Minnie Paul\",\"applicationVersion\":\"mafjoozr\",\"geoLocalization\":\"nuclajzowforeono\",\"ipAddress\":\"74.110.243.135\"},\"customerInfo\":[{\"key\":\"uwvunoz\",\"value\":\"21.24\"},{\"key\":\"esimaponiko\",\"value\":\"12.49\"},{\"key\":\"muahiditagsefed\",\"value\":\"74\"}]},\"actionProcessed\":{\"id\":\"5201314812264448\",\"type\":\"THREEDS_METHOD\",\"executed\":false},\"tokenInfo\":{\"tokenType\":\"92d0e74797afc2567691965d57d5aa3254fa705c3444c34b5bf85a9eaedaaad2\",\"value\":\"5.6\",\"secureCode\":\"lufuwaciwugu\"}}")
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 = [
"cardInfo": [
"PAN": "9999888877776666",
"secureCode": "123",
"validationDate": "2000-06-16T06:06:29.366Z",
"cardholderName": "Jack Frank",
"createToken": true
],
"info": [
"deviceInfo": [
"browserAcceptHeader": "5476030777297756",
"browserJavaEnabled": "pueseulpezeca",
"browserLanguage": "LA",
"browserColorDepth": "#31e1b8",
"browserScreenHeight": "pavlafuldujelpa",
"browserScreenWidth": "2496448010649600",
"browserTZ": "hotiupfo",
"browserUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
"systemFamily": "jaditbuvoh",
"systemVersion": "codajlobraogkujd",
"systemArchitecture": "uncokjoutn",
"deviceManufacturer": "nechabogmi",
"deviceModel": "utihesesevi",
"deviceID": "1898139896250368",
"applicationName": "Minnie Paul",
"applicationVersion": "mafjoozr",
"geoLocalization": "nuclajzowforeono",
"ipAddress": "74.110.243.135"
],
"customerInfo": [
[
"key": "uwvunoz",
"value": "21.24"
],
[
"key": "esimaponiko",
"value": "12.49"
],
[
"key": "muahiditagsefed",
"value": "74"
]
]
],
"actionProcessed": [
"id": "5201314812264448",
"type": "THREEDS_METHOD",
"executed": false
],
"tokenInfo": [
"tokenType": "92d0e74797afc2567691965d57d5aa3254fa705c3444c34b5bf85a9eaedaaad2",
"value": "5.6",
"secureCode": "lufuwaciwugu"
]
] as [String : Any]
let postData = JSONSerialization.data(withJSONObject: parameters, options: [])
let request = NSMutableURLRequest(url: NSURL(string: "https://sandbox.qly.sibspayments.com/sibs/spg/v1/payments/REPLACE_ID/card/purchase")! as URL,
cachePolicy: .useProtoc
import Foundation
let headers = [
"content-type": "application/json",
"accept": "application/json"
]
let parameters = [
"cardInfo": [
"PAN": "9999888877776666",
"secureCode": "123",
"validationDate": "2000-06-16T06:06:29.366Z",
"cardholderName": "Jack Frank",
"createToken": true
],
"info": [
"deviceInfo": [
"browserAcceptHeader": "5476030777297756",
"browserJavaEnabled": "pueseulpezeca",
"browserLanguage": "LA",
"browserColorDepth": "#31e1b8",
"browserScreenHeight": "pavlafuldujelpa",
"browserScreenWidth": "2496448010649600",
"browserTZ": "hotiupfo",
"browserUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
"systemFamily": "jaditbuvoh",
"systemVersion": "codajlobraogkujd",
"systemArchitecture": "uncokjoutn",
"deviceManufacturer": "nechabogmi",
"deviceModel": "utihesesevi",
"deviceID": "1898139896250368",
"applicationName": "Minnie Paul",
"applicationVersion": "mafjoozr",
"geoLocalization": "nuclajzowforeono",
"ipAddress": "74.110.243.135"
],
"customerInfo": [
[
"key": "uwvunoz",
"value": "21.24"
],
[
"key": "esimaponiko",
"value": "12.49"
],
[
"key": "muahiditagsefed",
"value": "74"
]
]
],
"actionProcessed": [
"id": "5201314812264448",
"type": "THREEDS_METHOD",
"executed": false
],
"tokenInfo": [
"tokenType": "92d0e74797afc2567691965d57d5aa3254fa705c3444c34b5bf85a9eaedaaad2",
"value": "5.6",
"secureCode": "lufuwaciwugu"
]
] as [String : Any]
let postData = JSONSerialization.data(withJSONObject: parameters, options: [])
let request = NSMutableURLRequest(url: NSURL(string: "https://sandbox.qly.sibspayments.com/sibs/spg/v1/payments/REPLACE_ID/card/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://sandbox.qly.sibspayments.com/sibs/spg/v1/payments/{id}/card/purchase
{
"returnStatus": {
"statusCode": "000",
"statusMsg": "Success",
"statusDescription": "Dem riegizaw obu kafmev arhebuf medecag pit upkew udi li ruzbaeji ritpi wukga jihuav umihe bu fobijzun."
},
"transactionID": "42f59038f3f14e618d091da8bf3b717e9999",
"merchant": {
"terminalId": "21451",
"channel": "web",
"merchantTransactionId": "863b730df285443f9a60ca404e0085fd1234"
},
"paymentType": "hofopt",
"actionResponse": {
"id": "2431076307828736",
"type": "icuva",
"data": {
"url": "http://ageunhop.hu/usukisel",
"params": [
{
"name": "Maggie Williamson",
"data": "naesigucmajijes"
},
{
"name": "Nathan Mack",
"data": "suwwobfitniz"
},
{
"name": "Josie Holloway",
"data": "aspifwogkugl"
}
]
}
},
"tokenResponse": {
"tokenName": "e689e095bfa39db77c4570df799c84234be781291c9b855dc1a0879b3295a5eb",
"tokenType": "f
{
"returnStatus": {
"statusCode": "000",
"statusMsg": "Success",
"statusDescription": "Dem riegizaw obu kafmev arhebuf medecag pit upkew udi li ruzbaeji ritpi wukga jihuav umihe bu fobijzun."
},
"transactionID": "42f59038f3f14e618d091da8bf3b717e9999",
"merchant": {
"terminalId": "21451",
"channel": "web",
"merchantTransactionId": "863b730df285443f9a60ca404e0085fd1234"
},
"paymentType": "hofopt",
"actionResponse": {
"id": "2431076307828736",
"type": "icuva",
"data": {
"url": "http://ageunhop.hu/usukisel",
"params": [
{
"name": "Maggie Williamson",
"data": "naesigucmajijes"
},
{
"name": "Nathan Mack",
"data": "suwwobfitniz"
},
{
"name": "Josie Holloway",
"data": "aspifwogkugl"
}
]
}
},
"tokenResponse": {
"tokenName": "e689e095bfa39db77c4570df799c84234be781291c9b855dc1a0879b3295a5eb",
"tokenType": "f4d98197699db1a76d8db069bc303dabc581897012fada93f400db5c96904262",
"value": "13.52",
"maskedPAN": "ziwidwuj",
"expireDate": "11/18/2068"
},
"recurringTransaction": {
"status": "Success"
},
"execution": {
"startTime": "2020-07-15T12:10:49.131+01:00",
"endTime": "2020-07-15T12:10:49.131+01:00"
},
"paymentStatus": "akzucuahnuhju"
}
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",
"DCC"
]
},
"executed": {
"type": "boolean"
}
},
"additionalProperties": false
}
{
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"data": {
"$ref": "#/definitions/Data"
}
},
"additionalProperties": false
}
{
"properties": {
"PAN": {
"type": "string",
"example": "9999888877776666"
},
"secureCode": {
"type": "string",
"example": "123"
},
"validationDate": {
"type": "string",
"format": "date-time"
},
"cardholderName": {
"type": "string"
},
"createToken": {
"type": "boolean"
}
},
"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": {
"cardInfo": {
"$ref": "#/definitions/CardInfo",
"description": "Object that defines the card information. Check the CardInfo definition."
},
"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
}