question

MCH avatar image
MCH asked

Problem using the "Transaction Approvals" API.

When i try to validate a transaction using the API "Transaction Approvals" in the Corporate Channels category, i get this message as a response : "GTPBusinessValidationException: Unauthorized access to approve transaction".

Could someone please provide some help?

API - Corporate Bankingapi
1600073323923.png (14.5 KiB)
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Szymon Patacz avatar image
Szymon Patacz answered

Hello,

Default TransactionID provided in postman collection has already been approved.

In order to obtain new transactionID which is eligible for approval please use Transaction Enquiries API - request https://api.fusionfabric.cloud/corporate/channels/transaction-enquiry/me/v1/transactions/my-pending :

After obtaining new transaction id with status PENDING-APPROVAL edit your transaction approval request to match the transaction ID obtained:

Such scenario should provide positive approval response.

Please note that when authenticating the same user cannot approve his own enquiries, e.g.: to obtain transaction ID authenticate as ffdcuser1, to approve transaction authenticate as ffdcuser2.


Best Regards,

Szymon


1600092337321.png (19.8 KiB)
1600092561779.png (17.6 KiB)
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.