Create a payment
Changed onCreate and authorize a payment.
For merchant-calculated tax, first call Get tax rate with the pre-tax amount and customer location. Then set amount to the all-in total charged to the customer (pre-tax amount + tax), and pass the calculated tax in taxDetails.amount with the same location. For example, for a $1.00 subtotal and $0.08 tax, send amount: 108 and taxDetails.amount: 8. Breeze remains the Merchant of Record and remits and files the tax.
Base URL — to meet PCI requirements, this endpoint must be called against https://secure.breeze.cash (production) or https://secure-sandbox.breeze.cash (sandbox), not the default api.breeze.cash host shown elsewhere in this reference.
Request
- Base URLhttps://secure.breeze.cash
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"taxDetails": {
"location": {
"country": "US",
"postalCode": "23242"
}
}
}Response
Success
Changes
- breaking
removed the enum value
AMEXof the request property/// - breaking
removed the enum value
CARTES_BANCAIRESof the request property/// - breaking
removed the enum value
DINERSof the request property/// - breaking
removed the enum value
DISCOVERof the request property/// - breaking
removed the enum value
JCBof the request property/// - breaking
removed the enum value
MASTERCARDof the request property/// - breaking
removed the enum value
VISAof the request property/// - breaking
the response property
///became optional for the status - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
- info
the request property
//became optional - info
added
subschema #1subschema #2to the///request propertyoneOflist - info
added the optional property
/to the response with the status
- breaking