Authorizations
Create an Authorization
Changed onCreate an Authorization to process a transaction.
Related Guides: Creating and Capturing an Authorization, Level 2 and 3 Processing, POS Integration, Buyer Charges
post/authorizations
Request
- Base URLhttps://finix.sandbox-payments-api.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Finix-Versionstring
Example:2022-02-01
Specify the API version of your request. For more details, see Versioning.
Content-Typestring
Example:application/json
The data type being sent in the request body must be application/json.
Request body
Example request
{
"amount": 5000,
"source": "PIxxxxxxxxxxxxxxxxxx"
}Response
Response schema to a request to create a single Authorization object.
Example response
{
"id": "AUxxxxxxxxxxxxxxxxxx",
"3d_secure_session": "3d_secure_session_f3fG3Zj8K958MTP5vpXAXX",
"additional_purchase_data": {
"item_data": [
{
"sales_tax_rate": 0.25
}
]
},
"amount": 5000,
"device": "DVxxxxxxxxxxxxxxxxxx",
"ip_address_details": {
"ipv4": {
"ip": "192.168.1.1"
}
},
"merchant": "MUxxxxxxxxxxxxxxxxxxxxxx",
"merchant_identity": "IDxxxxxxxxxxxxxxxxxxxxxx",
"network_details": {
"brand": "VISA"
},
"source": "PIxxxxxxxxxxxxxxxxxx",
"transfer": "TRxxxxxxxxxxxxxxxxxx"
}Changes
- info
added to the request body
anyOflist
- info
- breaking
removed from the request body
oneOflist - info
added to the request body
anyOflist - info
added the optional property
to the response with the status
- breaking