v1
latestOpenAPI 3.1.02026-07-24170121.2 MBTransactions
Sale
This API endpoint enables you to charge a credit card via a terminal by sending a sale command to a terminal. The final approval/decline result is delivered asynchronously to the callbackURL.
post/v3/transactions/sale
Headers
Authorizationstring required
Bearer token used to authenticate API requests.
X-Idempotency-Keystring uuid required
Unique key used to prevent duplicate transaction commands.
Request body
Example request
{
"tenantId": "145504363463",
"terminalId": "1850401309",
"transactionId": "3fa85f645717",
"amount": {
"total": 549,
"subtotal": 450,
"currency": "USD",
"tip": 72,
"tax": 27
},
"callbackURL": "https://example.com/payarc/callback"
}Response
Transaction Initiated
Example response
{
"response": {
"status": "SUCCESS"
}
}