Choose a transaction type
Choose among the sale, verify, auth, capture, void, and refund transaction types and build each POST /v1/transactions request.
Every transaction goes to one endpoint, POST /v1/transactions. The type field in the request decides what the transaction does. Use this page to pick the type, then follow the link to the guide that sends it.
Compare transaction types
type | What it does | Runs against | Moves money | Guide |
|---|---|---|---|---|
sale | Charges a payment method and settles it for funding | A payment method | Yes | Charge a payment |
verify | Confirms a payment method is valid, without charging it | A payment method | No | Charge a payment |
auth | Places a temporary hold on the customer's funds | A payment method | No | Authorize and capture a payment |
capture | Settles a previously approved auth for funding | An earlier auth | Yes | Authorize and capture a payment |
void | Cancels a transaction that hasn't settled yet | An earlier sale or auth, or a drawdown if the lender supports it | No | Void or refund a transaction |
refund | Returns funds from a settled transaction to the customer | An earlier sale or capture, or a drawdown if the lender supports it | Yes | Void or refund a transaction |
A seventh type, drawdown, draws against an approved loan rather than a payment method. See Request a drawdown. Whether you can void or refund a drawdown depends on the lender. Check the lender's guide, linked from Supported connections.
Sale, or auth then capture
A sale is final. It transfers funds from the customer's account to the merchant's account in one step. An auth only confirms that the funds are available and places a temporary hold on them. Nothing reaches the merchant until you follow it with a capture.
Use auth and capture when time passes between the customer agreeing to pay and the merchant being able to fulfill the order. Delayed shipping is the common case: authorize at checkout, capture when the goods ship, and the customer is charged only at that point.
A sale behaves like an auth and a capture sent at the same moment.
Void, or refund
Both undo a transaction. Which one applies depends on whether that transaction has settled.
- A
voidcancels a transaction that hasn't settled yet, so you can run it right after an erroneous transaction. - A
refundreturns money from a transaction that has settled, which is usually no earlier than the next day.
Updated about 2 hours ago
