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

Sale Transaction

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

var options = { method: 'POST',
  url: 'https://example.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://example.com/merchants/merchant_id/saletransactions")

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["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://example.com/merchants/merchant_id/saletransactions",
  "method": "POST",
  "headers": {
    "authorization": "Authorization"
  },
  "processData": false
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://example.com/merchants/merchant_id/saletransactions"

headers = {'authorization': 'Authorization'}

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

print(response.text)
Status: {{ results.statusCode[0] }}
{{ results.method }}
{{ results.url }}
{{ results.requestHeaders }}
{{ results.data }}
{{ results.responseHeaders }}
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://example.com/merchants/merchant_id/authorizetransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://example.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://example.com/merchants/merchant_id/authorizetransactions")

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["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://example.com/merchants/merchant_id/authorizetransactions",
  "method": "POST",
  "headers": {
    "authorization": "Authorization"
  },
  "processData": false
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://example.com/merchants/merchant_id/authorizetransactions"

headers = {'authorization': 'Authorization'}

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

print(response.text)
Status: {{ results.statusCode[0] }}
{{ results.method }}
{{ results.url }}
{{ results.requestHeaders }}
{{ results.data }}
{{ results.responseHeaders }}
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://example.com/merchants/merchant_id/capturetransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://example.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://example.com/merchants/merchant_id/capturetransactions")

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["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://example.com/merchants/merchant_id/capturetransactions",
  "method": "POST",
  "headers": {
    "authorization": "Authorization"
  },
  "processData": false
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://example.com/merchants/merchant_id/capturetransactions"

headers = {'authorization': 'Authorization'}

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

print(response.text)
Status: {{ results.statusCode[0] }}
{{ results.method }}
{{ results.url }}
{{ results.requestHeaders }}
{{ results.data }}
{{ results.responseHeaders }}
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://example.com/merchants/merchant_id/recurringtransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://example.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://example.com/merchants/merchant_id/recurringtransactions")

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["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://example.com/merchants/merchant_id/recurringtransactions",
  "method": "POST",
  "headers": {
    "authorization": "Authorization"
  },
  "processData": false
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://example.com/merchants/merchant_id/recurringtransactions"

headers = {'authorization': 'Authorization'}

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

print(response.text)
Status: {{ results.statusCode[0] }}
{{ results.method }}
{{ results.url }}
{{ results.requestHeaders }}
{{ results.data }}
{{ results.responseHeaders }}
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://example.com/merchants/merchant_id/refundtransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://example.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://example.com/merchants/merchant_id/refundtransactions")

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["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://example.com/merchants/merchant_id/refundtransactions",
  "method": "POST",
  "headers": {
    "authorization": "Authorization"
  },
  "processData": false
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://example.com/merchants/merchant_id/refundtransactions"

headers = {'authorization': 'Authorization'}

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

print(response.text)
Status: {{ results.statusCode[0] }}
{{ results.method }}
{{ results.url }}
{{ results.requestHeaders }}
{{ results.data }}
{{ results.responseHeaders }}
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://example.com/merchants/merchant_id/threedauthorizetransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://example.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://example.com/merchants/merchant_id/threedauthorizetransactions")

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["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://example.com/merchants/merchant_id/threedauthorizetransactions",
  "method": "POST",
  "headers": {
    "authorization": "Authorization"
  },
  "processData": false
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://example.com/merchants/merchant_id/threedauthorizetransactions"

headers = {'authorization': 'Authorization'}

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

print(response.text)
Status: {{ results.statusCode[0] }}
{{ results.method }}
{{ results.url }}
{{ results.requestHeaders }}
{{ results.data }}
{{ results.responseHeaders }}
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://example.com/merchants/merchant_id/threedsalwtransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://example.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://example.com/merchants/merchant_id/threedsalwtransactions")

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["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://example.com/merchants/merchant_id/threedsalwtransactions",
  "method": "POST",
  "headers": {
    "authorization": "Authorization"
  },
  "processData": false
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://example.com/merchants/merchant_id/threedsalwtransactions"

headers = {'authorization': 'Authorization'}

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

print(response.text)
Status: {{ results.statusCode[0] }}
{{ results.method }}
{{ results.url }}
{{ results.requestHeaders }}
{{ results.data }}
{{ results.responseHeaders }}
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://example.com/merchants/merchant_id/tokensaletransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://example.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://example.com/merchants/merchant_id/tokensaletransactions")

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["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://example.com/merchants/merchant_id/tokensaletransactions",
  "method": "POST",
  "headers": {
    "authorization": "Authorization"
  },
  "processData": false
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://example.com/merchants/merchant_id/tokensaletransactions"

headers = {'authorization': 'Authorization'}

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

print(response.text)
Status: {{ results.statusCode[0] }}
{{ results.method }}
{{ results.url }}
{{ results.requestHeaders }}
{{ results.data }}
{{ results.responseHeaders }}
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://example.com/merchants/merchant_id/verifytransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://example.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://example.com/merchants/merchant_id/verifytransactions")

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["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://example.com/merchants/merchant_id/verifytransactions",
  "method": "POST",
  "headers": {
    "authorization": "Authorization"
  },
  "processData": false
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://example.com/merchants/merchant_id/verifytransactions"

headers = {'authorization': 'Authorization'}

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

print(response.text)
Status: {{ results.statusCode[0] }}
{{ results.method }}
{{ results.url }}
{{ results.requestHeaders }}
{{ results.data }}
{{ results.responseHeaders }}
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://example.com/merchants/merchant_id/voidtransactions \
  --header 'authorization: Authorization'
var request = require("request");

var options = { method: 'POST',
  url: 'https://example.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://example.com/merchants/merchant_id/voidtransactions")

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["authorization"] = 'Authorization'

response = http.request(request)
puts response.read_body
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://example.com/merchants/merchant_id/voidtransactions",
  "method": "POST",
  "headers": {
    "authorization": "Authorization"
  },
  "processData": false
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://example.com/merchants/merchant_id/voidtransactions"

headers = {'authorization': 'Authorization'}

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

print(response.text)
Status: {{ results.statusCode[0] }}
{{ results.method }}
{{ results.url }}
{{ results.requestHeaders }}
{{ results.data }}
{{ results.responseHeaders }}
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