post https://sandbox-api.softpoint.io/interface/locations//transactions/sale
This API endpoint is used to process a sale transaction providing the full card information.
URL: {{base_url}}/locations/{{location_id}}/sale
Method: POST
| Header | Type | Required | Description |
| Authorization | String | Yes | Bearer {access_token} |
| Content-Type | String | Yes | application/json |
| Field | Type | Required | Description |
| user_id | String | Yes | User ID |
| currency_iso | String | No | Currency |
| country_iso | String | No | Country Code |
| phone_number | String | No | Phone Number |
| customer_name | String | No | Customer name |
| customer_email | String | No | Customer email |
| orderid | String | No | Order Id |
| reconciliation_id | String | No | Reconciliation identifier for transaction tracking |
| inv_number | String | No | Invoice number associated with the transaction |
| amount | Numeric | No | Amount |
| card_data | Object | Yes | Card data |
| billing_address | Object | No | Billing Address |
| order | Object | No | Order Details |
| Field | Type | Required | Description |
| card_type | String | When token is not present | Visa, Mastercard, Amex |
| token | String | When Card Number is not present | Card Token |
| pan | String | When Card token is not present | Card Number |
| sad | String | When Card token is not present | CVV |
| exp_month | String | When Card token is not present | Card Expiry Month |
| exp_year | String | When Card token is not present | Card Expiry Year |
| card_holder | String | | Card Holder Name |
| Field | Type | Required | Description |
| street | String | No | Street |
| street2 | String | No | Street 2 |
| zip | String | No | Zipcode |
| state | String | No | State |
| city | String | No | City |
| country_iso | String | No | Country |
| Field | Type | Required | Description |
| items | Array | No | Order items |
| discounts | Array | No | Order Discounts |
| Field | Type | Required | Description |
| id | String | No | Item Id |
| name | String | No | Item Name |
| quantity | Numeric | No | Item Quantity |
| price | Numeric | No | Item Price |
| tax | Numeric | No | Item Tax |
| type | String | No | Item Type |
| sales_category | String | No | Sales Category |
| phone_number | String | No | Phone Number |
| Field | Type | Required | Description |
| id | String | No | Discount Id |
| name | String | No | Discount Name |
| value | Numeric | No | Discount Value |
| item_id | String | No | Item Id |