Skip to content

Get metadata

You might want to offer additional metadata for specific transaction.

Request

Method: GET
Path: /v1/accounts/:accountResourceId/transactions/:transactionIdentifer/metadata
Headers:
Accept: application/json
Authorization: Bearer VALID-BEARER-TOKEN

Response

This response is only an example, where the metadata transmits a list of available files for a specific transaction, as well as expense-related data.

response.json
{
"metadata": {
"accounting": [{
"description": "Travel Expenses",
"accountNumber": "6800",
"amount": "32"
},{
"description": "Snacks",
"accountNumber": "6500",
"amount": "8"
}],
"files": [
{
"href": "/v1/files/3dc3d5b3-7023-4848-9853-f5400a64e80f",
"type": "application/pdf"
},
{
"href": "/v1/files/3dc3d5b3-7023-4848-9853-f5400a64e81g",
"type": "application/png"
}
]
}
}

Retrieve an object with additional, provider-specific metadata for a single transaction.