API Reference

The Authorization API is used to create an authorization hold on the available credit limit for a buyer.
if the transaction amount is within the available credit limit for the buyer, an authorization hold is successfully created.

Log in to see full request history

Ideally, you can use Sprinque Merchant SDK for order creation. But if that's not the case, please pass IPv4 or IPv6 to the metadata of the auth call like this:

metadata: {IPv4: '192.0.2.146'}

NOTE - Merchant Order Id shared in the Authorisation API call can be overwritten with the Merchant Order Id in the Capture API call. This is done to help provide flexibility to merchants who perform Auth with Sprinque before creating an order on their side.

Path Params
string
required

Unique id of the business generated by sprinque during business registration.

Body Params
string
required
length ≤ 100

Order number of the purchase, generated by the Merchant.

string
  • NET7 - Net7
  • NET15 - Net15
  • NET30 - Net30
  • NET45 - Net45
  • NET60 - Net60
  • NET90 - Net90
  • PAY_IN_3 - Pay In 3
  • PAY_IN_6 - Pay In 6
  • PAY_IN_9 - Pay In 9
  • PAY_IN_12 - Pay In 12
  • PAY_IN_ADVANCE - Pay In Advance
string
required

The monetary value of the order.

string
length ≤ 3
Defaults to EUR

Order note currency code in ISO 4217. Supported: EUR.

shipping_address
object
required

Address the order is being shipped to.

string

User email who authorized the transaction.

metadata
object

Metadata is a JSON object for passing any custom information like the digital footprint of the buyer. (e.g., IP address, browser type etc)

Headers
string
required

Sprinque authenticates using API keys.
API Key can be generated on the Sprinque
MCC portal from the “My Account” page.
The same key can be used for all API calls.

Response

Callback
Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json