Match bank transaction
Match a bank transaction to a financial event such as an invoice payment or a payout. This should be used when platforms have pre-existing knowledge of what bank transactions are associated with a financial event, or when a user confirms a suggested match in a UI. This endpoint is used in Layer’s <BankTransactions>
embedded component and if you are using embedded components, you are unlikely to need to call this endpoint directly. Suggested matches can be found on a Bank Transaction Object.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type must be set to application/json
Path Parameters
ID of the business the bank transaction is associated with.
The UUID of the bank transaction to match
Body
Polymorphic discriminator, this must be set as Confirm_Match
.
ID of the suggested match to confirm.
Response
Layer's UUID for the match
Type of the object to match
TRANSFER
, INVOICE_PAYMENT
, PAYOUT