test-authorizations
Send test authorization reversal request
Payment API
Account Details
- Overview
- Create an account
- Update an account
- Get account information
Authorisation Control
- Overview
- Authorisation Control Webhook
Authorisation Forwarding
- Overview
- Forward authorisation webhook
Card details
- Overview
- Create card
- Update card
- Get application
- Update application
- Get card
- Get plastic
- Get EMV scripts
- Update plastic
Customer
- Overview
- Get customer information
- Create a customer
- Update a customer
- Customer hierarchy
Exchange Rates API
- Overview
- Get ECB exchange rate
- Get ECB supported currencies
- Get FX exchange rates
ID
- Overview
- Initiate 3rd party authentication flow
- Callback to complete authentication flow
Instalment
- Overview
- Instalment Controller
Invoice
- Overview
- Get invoice information
- Update invoice information
Notification
- Overview
- Receive a notification
PIN
- Overview
- PIN operations with pre-shared key
- PIN operations using PKI
PIN Control
- Overview
- PIN Control handling
Purchase Details
- Overview
- Trigger repricing
- Get purchase details
- Create purchase details
- Update purchase details
RBA Forwarding
- Overview
- RBA forwarding
Repricing
- Overview
- Create repricing agreements
- Get repricing agreements
- Update repricing agreements
- Create price lists
- Get price lists
- Update price lists
Transaction
- Overview
- Test transactions
- Test authorizations
- Get transaction data
- Create transactions
- Create fees
- Update a transaction
- Batch payment
Transfer API
- Overview
- Post account to account transfer
- Account to account batch transfer
- Post card to card transfer
Wallet
- Overview
- Push Provision
- Activation data
- Get tokens
Test API
- Overview
- test-auth-request-templates
- test-authorizations
Hierarchy API
- Overview
- Card Hierarchy Management
- Card Hierarchy Group Management
- Card Management in Card Hierarchy Groups
Spend Control API
- Overview
- Rule Sets Endpoints
- Rules Endpoints
- Spend Control Test Endpoint
test-authorizations
Send test authorization reversal request
POST
/
v1
/
authorizations
/
reversal
curl --request POST \
--url https://integration-api-cat2.demo.ext.test.cia.enfuce.com/test-api/v1/authorizations/reversal \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"partialAmount": {
"amount": 3.14,
"currency": "EUR"
}
}'
{
"metadata": {
"mti": "<string>",
"id": "<string>"
},
"transactionData": {
"authResponseCode": "<string>",
"retrievalReferenceNumber": "<string>"
}
}
Query Parameters
The audit user to log the request
Body
application/json
Reversal request
Unique identifier of authorisation request.
Maximum length:
18
Response
200
application/json
Reversal request succesfully executed
Response on the authorisation request.
Response to the authorisation. Indicates to the merchant if the authorisation was approved or declined.
Maximum length:
2
Merchant/acquiring generated reference number for a purchase. Commonly used as the one of the main variables, in addition to cardId, to uniquely identify a transaction. Reference number is expected to remain the same for all messages during the transaction lifecycle (authorisation, clearing, reversals).
This information can be used as one variable to match the authorisation message to purchase receipt data.
Maximum length:
12
curl --request POST \
--url https://integration-api-cat2.demo.ext.test.cia.enfuce.com/test-api/v1/authorizations/reversal \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"partialAmount": {
"amount": 3.14,
"currency": "EUR"
}
}'
{
"metadata": {
"mti": "<string>",
"id": "<string>"
},
"transactionData": {
"authResponseCode": "<string>",
"retrievalReferenceNumber": "<string>"
}
}