cURL
curl --request POST \
--url https://online.ibisres.com/api/v2/person/CreditCardStore \
--header 'Content-Type: application/json' \
--data '
{
"nxID": "<string>",
"card_processor": "<string>",
"card_name": "<string>",
"card_summary": "<string>",
"remote_billingID": "<string>",
"person_nxID": "<string>",
"details": "<string>",
"expiry_date": "2023-11-07T05:31:56Z"
}
'import requests
url = "https://online.ibisres.com/api/v2/person/CreditCardStore"
payload = {
"nxID": "<string>",
"card_processor": "<string>",
"card_name": "<string>",
"card_summary": "<string>",
"remote_billingID": "<string>",
"person_nxID": "<string>",
"details": "<string>",
"expiry_date": "2023-11-07T05:31:56Z"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
nxID: '<string>',
card_processor: '<string>',
card_name: '<string>',
card_summary: '<string>',
remote_billingID: '<string>',
person_nxID: '<string>',
details: '<string>',
expiry_date: '2023-11-07T05:31:56Z'
})
};
fetch('https://online.ibisres.com/api/v2/person/CreditCardStore', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://online.ibisres.com/api/v2/person/CreditCardStore",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'nxID' => '<string>',
'card_processor' => '<string>',
'card_name' => '<string>',
'card_summary' => '<string>',
'remote_billingID' => '<string>',
'person_nxID' => '<string>',
'details' => '<string>',
'expiry_date' => '2023-11-07T05:31:56Z'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://online.ibisres.com/api/v2/person/CreditCardStore"
payload := strings.NewReader("{\n \"nxID\": \"<string>\",\n \"card_processor\": \"<string>\",\n \"card_name\": \"<string>\",\n \"card_summary\": \"<string>\",\n \"remote_billingID\": \"<string>\",\n \"person_nxID\": \"<string>\",\n \"details\": \"<string>\",\n \"expiry_date\": \"2023-11-07T05:31:56Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://online.ibisres.com/api/v2/person/CreditCardStore")
.header("Content-Type", "application/json")
.body("{\n \"nxID\": \"<string>\",\n \"card_processor\": \"<string>\",\n \"card_name\": \"<string>\",\n \"card_summary\": \"<string>\",\n \"remote_billingID\": \"<string>\",\n \"person_nxID\": \"<string>\",\n \"details\": \"<string>\",\n \"expiry_date\": \"2023-11-07T05:31:56Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://online.ibisres.com/api/v2/person/CreditCardStore")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"nxID\": \"<string>\",\n \"card_processor\": \"<string>\",\n \"card_name\": \"<string>\",\n \"card_summary\": \"<string>\",\n \"remote_billingID\": \"<string>\",\n \"person_nxID\": \"<string>\",\n \"details\": \"<string>\",\n \"expiry_date\": \"2023-11-07T05:31:56Z\"\n}"
response = http.request(request)
puts response.read_body{
"nxID": "<string>",
"card_processor": "<string>",
"card_name": "<string>",
"card_summary": "<string>",
"remote_billingID": "<string>",
"person_nxID": "<string>",
"details": "<string>",
"expiry_date": "2023-11-07T05:31:56Z"
}NxServerApi
Post apiv2personcreditcardstore
POST
/
api
/
v2
/
person
/
CreditCardStore
cURL
curl --request POST \
--url https://online.ibisres.com/api/v2/person/CreditCardStore \
--header 'Content-Type: application/json' \
--data '
{
"nxID": "<string>",
"card_processor": "<string>",
"card_name": "<string>",
"card_summary": "<string>",
"remote_billingID": "<string>",
"person_nxID": "<string>",
"details": "<string>",
"expiry_date": "2023-11-07T05:31:56Z"
}
'import requests
url = "https://online.ibisres.com/api/v2/person/CreditCardStore"
payload = {
"nxID": "<string>",
"card_processor": "<string>",
"card_name": "<string>",
"card_summary": "<string>",
"remote_billingID": "<string>",
"person_nxID": "<string>",
"details": "<string>",
"expiry_date": "2023-11-07T05:31:56Z"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
nxID: '<string>',
card_processor: '<string>',
card_name: '<string>',
card_summary: '<string>',
remote_billingID: '<string>',
person_nxID: '<string>',
details: '<string>',
expiry_date: '2023-11-07T05:31:56Z'
})
};
fetch('https://online.ibisres.com/api/v2/person/CreditCardStore', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://online.ibisres.com/api/v2/person/CreditCardStore",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'nxID' => '<string>',
'card_processor' => '<string>',
'card_name' => '<string>',
'card_summary' => '<string>',
'remote_billingID' => '<string>',
'person_nxID' => '<string>',
'details' => '<string>',
'expiry_date' => '2023-11-07T05:31:56Z'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://online.ibisres.com/api/v2/person/CreditCardStore"
payload := strings.NewReader("{\n \"nxID\": \"<string>\",\n \"card_processor\": \"<string>\",\n \"card_name\": \"<string>\",\n \"card_summary\": \"<string>\",\n \"remote_billingID\": \"<string>\",\n \"person_nxID\": \"<string>\",\n \"details\": \"<string>\",\n \"expiry_date\": \"2023-11-07T05:31:56Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://online.ibisres.com/api/v2/person/CreditCardStore")
.header("Content-Type", "application/json")
.body("{\n \"nxID\": \"<string>\",\n \"card_processor\": \"<string>\",\n \"card_name\": \"<string>\",\n \"card_summary\": \"<string>\",\n \"remote_billingID\": \"<string>\",\n \"person_nxID\": \"<string>\",\n \"details\": \"<string>\",\n \"expiry_date\": \"2023-11-07T05:31:56Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://online.ibisres.com/api/v2/person/CreditCardStore")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"nxID\": \"<string>\",\n \"card_processor\": \"<string>\",\n \"card_name\": \"<string>\",\n \"card_summary\": \"<string>\",\n \"remote_billingID\": \"<string>\",\n \"person_nxID\": \"<string>\",\n \"details\": \"<string>\",\n \"expiry_date\": \"2023-11-07T05:31:56Z\"\n}"
response = http.request(request)
puts response.read_body{
"nxID": "<string>",
"card_processor": "<string>",
"card_name": "<string>",
"card_summary": "<string>",
"remote_billingID": "<string>",
"person_nxID": "<string>",
"details": "<string>",
"expiry_date": "2023-11-07T05:31:56Z"
}Body
application/jsontext/jsonapplication/xmltext/xmlapplication/x-www-form-urlencoded