NextGen

The NextGen Developer Hub

Welcome to the NextGen developer hub. You'll find comprehensive guides and documentation to help you start working with NextGen as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    
Suggest Edits

Customer Token

This API allows you to fetch a re-use customer token for transactions

 
posthttps://api.alliedwallet.com/merchants/merchantId/customertokens
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchantId/customertokens
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchantId/customertokens' };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchantId/customertokens")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchantId/customertokens");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchantId/customertokens"

response = requests.request("POST", url)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchantId
int64
required

The merchant identifier provided to you by Allied Wallet

Body Params

FirstName
string
required

The first name of the customer

LastName
string
required

The last name of the customer

Phone
string
required

The phone number for the customer

AddressLine1
string
required

The address for the customer

AddressLine2
string

The address line 2 for the customer

City
string
required

The city for the customer

State
string
required

The state for the customer

CountryId
string
required

The 2 digit country identifier for the customer (Ex: US)

PostalCode
string
required

The postal code for the customer

Email
string
required

The email address for the customer

CardNumber
int64
required

The card number for the customer

CVVCode
string
required

The 3 digit CVV code for the customer's card

NameOnCard
string
required

The name on the customer's credit card

ExpirationMonth
string
required

The expiration month for the customer's credit card

ExpirtationYear
string
required

The expiration year for the customer's credit card

ShippingFirstName
string

The customer's first name for shipping

ShippingLastname
string

The customer's last name for shipping

ShippingPhone
string

The customer's phone for shipping

ShippingAddressLine1
string

The customer's address for shipping

ShippingAddressLine2
string

The customer's address line 2 for shipping

ShippingCity
string

The customer's city for shipping

ShippingState
string

The customer's state for shipping

ShippingCountryId
string

The customer's country identifier for shipping (Ex: US)

ShippingPostalCode
string

The customer's postal code for shipping

 

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

$.get('http://yoursite.com/test/' + id, function(data) {
    console.log(data);
});
Suggest Edits

Sale Transaction

 
posthttps://api.alliedwallet.com/merchants/merchant_id/saletransactions
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchant_id/saletransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchant_id/saletransactions',
  headers: { authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchant_id/saletransactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchant_id/saletransactions");
xhr.setRequestHeader("authorization", "Authorization");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchant_id/saletransactions"

headers = {'authorization': 'Authorization'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchant_id
int64
required

The merchant ID provided by Allied Wallet

Body Params

SiteId
int32
required

The site identifier

Currency
string
required

The currency code for the transaction. Ex: USD

Amount
double
required

The amount for the transaction

CardNumber
int64
required

The card number

CVVCode
string

The CVV code

NameOnCard
string
required

The name on the credit card

ExpirationMonth
int32
required

The expiration month of the credit card

ExpirationYear
int32
required

The expiration year of the credit card

FirstName
string
required

The customer's first name

LastName
string
required

The customer's last name

Phone
string
required

The customer's phone number

Email
string
required

The customer's email address

AddressLine1
string
required

The customer's address

AddressLine2
string

The customer's address cont.

City
string
required

The customer's city

State
string
required

The customer's state. EX: CA

CountryId
string
required

The customer's country identifier. EX: US

PostalCode
string
required

The customer's postal code

ShippingFirstName
string
required

The customer's shipping first name

ShippingLastName
string
required

The customer's shipping last name

ShippingAddressLine1
string
required

The customer's shipping address

ShippingAddressLine2
string

The customer's shipping address cont.

ShippingCity
string
required

The customer's shipping city

ShippingState
string
required

The customer's shipping state. EX: CA

ShippingCountryId
string
required

The customer's shipping country identifier. Ex: US

ShippingPostalCode
string
required

The customer's shipping postal code

SubscriptionPlanId
string

The subscription plan identifier

Username
string

The username

Password
string

The password

ECI
string

The ECI

XID
string

The XID

AcsVerificationId
string

The Acs Verification Identifier

ConfirmUrl
string

The postback url for transaction postback

IPAddress
string

The IP address the transaction is originating from

TrackingId
string

The external tracking identifier that you are using for this transaction.

MerchantReferrerUrl
string

The referrer url for the transaction

IsInitialForRecurring
boolean

A flag that determines if this transaction should also creating a recurring transaction

Headers

Authorization
string
required

Please provide a Bearer token

 

This endpoint is used for Sale Transactions.

Suggest Edits

Authorize Transaction

 
posthttps://api.alliedwallet.com/merchants/merchant_id/authorizetransactions
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchant_id/authorizetransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchant_id/authorizetransactions',
  headers: { authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchant_id/authorizetransactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchant_id/authorizetransactions");
xhr.setRequestHeader("authorization", "Authorization");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchant_id/authorizetransactions"

headers = {'authorization': 'Authorization'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchant_id
int64
required

The merchant ID provided by Allied Wallet

Body Params

ConfirmUrl
string

The postback url for transaction postback

Currency
string
required

The currency code for the transaction. Ex: USD

SiteId
int64
required

The site identifier

IPAddress
string

The IP address the transaction is originating from

TrackingId
string

The external tracking identifier that you are using for this transaction.

MerchantReferrerUrl
string

The referrer url for the transaction

Amount
double
required

The amount for the transaction

IsInitialForRecurring
boolean

A flag that determines if this transaction should also creating a recurring transaction

FirstName
string
required

The customer's first name

LastName
string
required

The customer's last name

Phone
string
required

The customer's phone number

AddressLine1
string
required

The customer's address

AddressLine2
string

The customer's address cont.

City
string
required

The customer's city

State
string
required

The customer's state. EX: CA

CountryId
string
required

The customer's country identifier. EX: US

PostalCode
string
required

The customer's postal code

Email
string
required

The customer's email address

CardNumber
int64
required

The card number

CVVCode
string
required

The CVV code

NameOnCard
string
required

The name on the credit card

ExpirationMonth
int32
required

The expiration month of the credit card

ExpirationYear
int32
required

The expiration year of the credit card

ShippingFirstName
string
required

The customer's shipping first name

ShippingLastName
string
required

The customer's shipping last name

ShippingAddressLine1
string
required

The customer's shipping address

ShippingAddressLine2
string

The customer's shipping address cont.

ShippingCity
string
required

The customer's shipping city

ShippingState
string
required

The customer's shipping state. EX: CA

ShippingCountryId
string
required

The customer's shipping country identifier. Ex: US

ShippingPostalCode
string
required

The customer's shipping postal code

Headers

Authorization
string
required

Please provide a Bearer token

 
Suggest Edits

Capture Transaction

This API allows you to do either a full or partial capture using a previously successful authorize transaction identifier.

 
posthttps://api.alliedwallet.com/merchants/merchant_id/capturetransactions
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchant_id/capturetransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchant_id/capturetransactions',
  headers: { authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchant_id/capturetransactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchant_id/capturetransactions");
xhr.setRequestHeader("authorization", "Authorization");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchant_id/capturetransactions"

headers = {'authorization': 'Authorization'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchant_id
int64
required

The merchant ID provided by Allied Wallet

Body Params

AuthorizeTransactionId
int64
required

The authorize transaction identifier

Amount
double
required

The amount for the transaction

Headers

Authorization
string
required

Please provide a Bearer token

 
Suggest Edits

Recurring Transaction

This API allows you to process a repeated transactions using a previous transaction identifier.

 
posthttps://api.alliedwallet.com/merchants/merchant_id/recurringtransactions
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchant_id/recurringtransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchant_id/recurringtransactions',
  headers: { authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchant_id/recurringtransactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchant_id/recurringtransactions");
xhr.setRequestHeader("authorization", "Authorization");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchant_id/recurringtransactions"

headers = {'authorization': 'Authorization'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchant_id
int64
required

The merchant ID provided by Allied Wallet

Body Params

ReferenceTransactionId
int64
required

The reference transaction identifier. Must be a Capture or Sale transaction identifier.

Amount
double
required

The amount for the transaction

TrackingId
string

The external tracking identifier that you are using for this transaction.

Headers

Authorization
string
required

Please provide a Bearer token

 
Suggest Edits

Refund Transaction

This API allows you to do either a full or partial refund using a previously successful transaction identifier.

 
posthttps://api.alliedwallet.com/merchants/merchant_id/refundtransactions
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchant_id/refundtransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchant_id/refundtransactions',
  headers: { authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchant_id/refundtransactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchant_id/refundtransactions");
xhr.setRequestHeader("authorization", "Authorization");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchant_id/refundtransactions"

headers = {'authorization': 'Authorization'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchant_id
int64
required

The merchant ID provided by Allied Wallet

Body Params

ReferenceTransactionId
int64
required

The reference transaction identifier.

Amount
double
required

The amount for the transaction

Headers

Authorization
string
required

Please provide a Bearer token

 
Suggest Edits

3D Authorize Transaction

 
posthttps://api.alliedwallet.com/merchants/merchant_id/threedauthorizetransactions
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchant_id/threedauthorizetransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchant_id/threedauthorizetransactions',
  headers: { authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchant_id/threedauthorizetransactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchant_id/threedauthorizetransactions");
xhr.setRequestHeader("authorization", "Authorization");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchant_id/threedauthorizetransactions"

headers = {'authorization': 'Authorization'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchant_id
int64
required

The merchant ID provided by Allied Wallet

Body Params

VerifyTransactionId
int64
required

The verify transaction identifier.

PARes
string
required

The PARes acquired after the PAReq is complete.

Headers

Authorization
string
required

Please provide a Bearer token

 
Suggest Edits

3D Sale Transaction

 
posthttps://api.alliedwallet.com/merchants/merchant_id/threedsalwtransactions
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchant_id/threedsalwtransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchant_id/threedsalwtransactions',
  headers: { authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchant_id/threedsalwtransactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchant_id/threedsalwtransactions");
xhr.setRequestHeader("authorization", "Authorization");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchant_id/threedsalwtransactions"

headers = {'authorization': 'Authorization'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchant_id
int64
required

The merchant ID provided by Allied Wallet

Body Params

VerifyTransactionId
int64
required

The verify transaction identifier.

PARes
string
required

The PARes acquired after the PAReq is complete.

Headers

Authorization
string
required

Please provide a Bearer token

 
Suggest Edits

Token Sale Transaction

 
posthttps://api.alliedwallet.com/merchants/merchant_id/tokensaletransactions
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchant_id/tokensaletransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchant_id/tokensaletransactions',
  headers: { authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchant_id/tokensaletransactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchant_id/tokensaletransactions");
xhr.setRequestHeader("authorization", "Authorization");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchant_id/tokensaletransactions"

headers = {'authorization': 'Authorization'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchant_id
int64
required

The merchant ID provided by Allied Wallet

Body Params

TokenId
string
required

The token identifier

SiteId
int64
required

The site identifier.

Amount
double
required

The amount for the transaction

Currency
string
required

The currency code for the transaction. Ex: USD

IsInitialForRecurring
boolean
required

A flag that determines if this transaction should also creating a recurring transaction.

IPAddress
string

The IP address the transaction is originating from.

TrackingId
string

The external tracking identifier that you are using for this transaction.

DeactivateToken
boolean

The flag indicating whether to deactivate the token after use or not.

Headers

Authorization
string
required

Please provide a Bearer token

 
Suggest Edits

Verify Transaction

 
posthttps://api.alliedwallet.com/merchants/merchant_id/verifytransactions
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchant_id/verifytransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchant_id/verifytransactions',
  headers: { authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchant_id/verifytransactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchant_id/verifytransactions");
xhr.setRequestHeader("authorization", "Authorization");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchant_id/verifytransactions"

headers = {'authorization': 'Authorization'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchant_id
int64
required

The merchant ID provided by Allied Wallet

Body Params

ConfirmUrl
string

The postback url for transaction postback

Currency
string
required

The currency code for the transaction. Ex: USD

SiteId
int64
required

The site identifier

IPAddress
string

The IP address the transaction is originating from

TrackingId
string

The external tracking identifier that you are using for this transaction.

MerchantReferrerUrl
string

The referrer url for the transaction

Amount
double
required

The amount for the transaction

IsInitialForRecurring
boolean

A flag that determines if this transaction should also creating a recurring transaction

FirstName
string
required

The customer's first name

LastName
string
required

The customer's last name

Phone
string
required

The customer's phone number

AddressLine1
string
required

The customer's address

AddressLine2
string

The customer's address cont.

City
string
required

The customer's city

State
string
required

The customer's state. EX: CA

CountryId
string
required

The customer's country identifier. EX: US

PostalCode
string
required

The customer's postal code

Email
string
required

The customer's email address

CardNumber
int64
required

The card number

CVVCode
string
required

The CVV code

NameOnCard
string
required

The name on the credit card

ExpirationMonth
int32
required

The expiration month of the credit card

ExpirationYear
int32
required

The expiration year of the credit card

ShippingFirstName
string
required

The customer's shipping first name

ShippingLastName
string
required

The customer's shipping last name

ShippingAddressLine1
string
required

The customer's shipping address

ShippingAddressLine2
string

The customer's shipping address cont.

ShippingCity
string
required

The customer's shipping city

ShippingState
string
required

The customer's shipping state. EX: CA

ShippingCountryId
string
required

The customer's shipping country identifier. Ex: US

ShippingPostalCode
string
required

The customer's shipping postal code

Headers

Authorization
string
required

Please provide a Bearer token

 
Suggest Edits

Void Transaction

 
posthttps://api.alliedwallet.com/merchants/merchant_id/voidtransactions
curl --request POST \
  --url https://api.alliedwallet.com/merchants/merchant_id/voidtransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://api.alliedwallet.com/merchants/merchant_id/voidtransactions',
  headers: { authorization: 'Authorization' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
require 'uri'
require 'net/http'

url = URI("https://api.alliedwallet.com/merchants/merchant_id/voidtransactions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var data = JSON.stringify(false);

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://api.alliedwallet.com/merchants/merchant_id/voidtransactions");
xhr.setRequestHeader("authorization", "Authorization");

xhr.send(data);
import requests

url = "https://api.alliedwallet.com/merchants/merchant_id/voidtransactions"

headers = {'authorization': 'Authorization'}

response = requests.request("POST", url, headers=headers)

print(response.text)
A binary file was returned

You couldn't be authenticated

Try the API to see results

Path Params

merchant_id
int64
required

The merchant ID provided by Allied Wallet

Body Params

AuthorizeTransactionId
int64
required

The authorize transaction identifier.

Headers

Authorization
string
required

Please provide a Bearer token