v1
latestOpenAPI 3.0.02026-07-244352379.2 KBPayments
Authorize a Payment
⚠️ HSA/FSA Payments Only
This endpoint can only be used for HSA/FSA payments.
A POST request to /payments/{payment_ref}/authorize/ performs an Authorization on an existing Payment object.
A hold will be placed on the cardholder's account for the amount of the payment. This hold will appear on the cardholder's statement as a pending transaction. If request_partial_authorization is true then the amount authorized may be less then the original payment amount. In this case the original amount is moved into a field requested_amount and the actual amount authorized will be in field amount.
post/api/payments/{payment_ref}/authorize/
Request body
Response
OK - Success
Example response
{
"amount": 25.99,
"funding_type": "ebt_snap",
"payment_method": "ac47392bb1",
"delivery_address": {
"city": "San Francisco",
"country": "US",
"line1": "1856 Market St.",
"zipcode": "94106",
"state": "CA"
},
"is_delivery": true,
"description": "An EBT Payment",
"metadata": {},
"platform_fee": 0.05,
"platform_fixed_settlement": 5.11,
"merchant_fixed_settlement": 5.95,
"customer_id": "cus_1234567890",
"external_order_id": "1f2ee410-5b47-4130-aec2-40f5eb2108f5",
"merchant_destination_account": "1bdefaa456",
"pos_terminal": {
"provider_terminal_id": "tbd123"
},
"external_location_id": "6e3b2ff7-51c8-4c64-befa-2eac90f7c3e9",
"ref": "cc3175bfea",
"merchant": "9000055",
"status": "requires_confirmation",
"created": "2021-06-16T00:11:50.000000Z-07:00",
"updated": "2021-06-16T00:11:50.000000Z-07:00",
"expires_at": "2021-06-16T00:41:50.000000Z-07:00",
"success_date": "2021-06-16T00:11:50.000000Z-07:00",
"refunds": [
"ac47392bb1"
],
"receipt": {
"ref_number": "cc3175bfea",
"is_voided": true,
"snap_amount": "25.99",
"ebt_cash_amount": "10.99",
"other_amount": "5.99",
"sales_tax_applied": "5.16",
"balance": {
"snap": "72.94",
"non_snap": "32.16",
"updated": "2021-06-16T00:11:50.000000Z-07:00"
},
"last_4": "3456",
"message": "Approved",
"transaction_type": "Payment",
"created": "2021-06-16T00:11:50.000000Z-07:00"
},
"last_processing_error": null,
"previous_errors": []
}