Skip to main content
POST
/
transaction
Card Transaction
curl --request POST \
  --url https://dev-api.auxvault.net/api/v1/public/transaction \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "Amount": 10.5,
  "BillingCountry": "USA",
  "BillingCountryCode": "+1",
  "BillingCustomerName": "John Doe",
  "BillingEmail": "[email protected]",
  "BillingPhoneNumber": "555-123-4567",
  "BillingPostalCode": "12345",
  "CardNumber": "4111111111111111",
  "Cvv": "123",
  "ExpiryDate": "1225",
  "SuggestedMode": "Card",
  "ConvenienceFeeActive": true,
  "IpAddress": "192.168.1.1",
  "BillingAddress": "123 Main St",
  "BillingCity": "Anytown",
  "BillingState": "CA",
  "ShippingSameAsBilling": true,
  "ShippingCustomerName": "<string>",
  "ShippingEmail": "<string>",
  "ShippingPhoneNumber": "<string>",
  "ShippingAddress": "<string>",
  "ShippingCountry": "<string>",
  "ShippingCity": "<string>",
  "ShippingState": "<string>",
  "ShippingPostalCode": "<string>",
  "TransactionType": "<string>",
  "PaymentTokenization": true
}
'
{
  "status": "success",
  "status_code": 100,
  "message": "Transaction Processed Successfully",
  "data": {
    "TransactionId": "d0snjfv0i479rlkc66v0",
    "BaseAmount": 10,
    "Amount": 10,
    "CardNumber": "1111",
    "BillingEmail": "[email protected]",
    "BillingCustomerName": "Federico",
    "BillingAddress": "",
    "BillingCity": "",
    "BillingState": null,
    "BillingPostalCode": "",
    "BillingCountry": 1,
    "BillingCountryCode": "+1",
    "BillingPhoneNumber": "876543200",
    "TransactionType": 1,
    "Status": "1"
  }
}

Authorizations

Authorization
string
header
required

Body

application/json
Amount
number
required
Example:

10.5

BillingCountry
string
required
Example:

"USA"

BillingCountryCode
string
required
Example:

"+1"

BillingCustomerName
string
required
Example:

"John Doe"

BillingEmail
string
required
BillingPhoneNumber
string
required
Example:

"555-123-4567"

BillingPostalCode
string
required
Example:

"12345"

CardNumber
string
required
Example:

"4111111111111111"

Cvv
string
required
Example:

"123"

ExpiryDate
string
required
Example:

"1225"

SuggestedMode
string
required
Example:

"Card"

ConvenienceFeeActive
boolean
required
IpAddress
string
required
Example:

"192.168.1.1"

BillingAddress
string
Example:

"123 Main St"

BillingCity
string
Example:

"Anytown"

BillingState
string
Example:

"CA"

ShippingSameAsBilling
boolean
ShippingCustomerName
string
ShippingEmail
string
ShippingPhoneNumber
string
ShippingAddress
string
ShippingCountry
string
ShippingCity
string
ShippingState
string
ShippingPostalCode
string
TransactionType
string

1 for Sale, 2 for Auth

PaymentTokenization
boolean

Response

Successful Response