...
Expand |
---|
title | Submit Level III data using the Payrix API. |
---|
|
To submit Level III transaction data using the /txns Payrix API endpoint, send the following request: Code Block |
---|
POST https://test-api.payrix.com/txns |
Code Block |
---|
| {
"merchant":"{yourMerchantID}",
"payment":{
"number":"{customerCardNumber}",
"cvv":"{customerCardCVV}"
}
"expiration":"MMYY",
"type":2,
"order":"INVOICE#1",
"total":7799,
"tax":100,
"items":[
{
"item":"Line Item #1",
"description":"Line Item Description"
"quantity":1,
"price":7799,
"um":"EACH",
"commodityCode":"1111999",
"total":5799,
"discount":-2000,
"productCode":"UPC12345"
},
]
} |
Note: Descriptions for Level II data shown here are available in the Submit Level II data using the Payrix API section above. Required Parameters | Type | Description | Valid Values / Format |
---|
items
| array of objects | The item or list of items associated with the transaction/order. | | | item
| string | The line item name. | | description
| string | The line item description. | Max length: 500 characters | quantity
| integer | The total number of units for the line item. | | price
| number | The individual line item price. | | um
| string | The line item units of measure. Example: “pounds”, “days”, “hours”. | Max length: 100 characters | commodityCode
| string | The commodity code for this Item. | Max length:12 characters | total
| integer | The total price for the line item. | This field is specified as an integer in cents | discount
| integer | The discount for the line item. | This field is specified as an integer in cents. | productCode
| string | The product code for this Item such as: UPC, catalog number, or inventory number. | |
|
...
PayFields
PayFields is a unique offering that seamlessly integrates a payment gateway into your existing HTML website package and eliminates PCI Compliance risk. Submitting Level II
...