{"info":{"_postman_id":"1707c85e-3674-41c1-9935-a85129301df4","name":"TrueLayer API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"6653386","collectionId":"1707c85e-3674-41c1-9935-a85129301df4","publishedId":"S17jWrgN","public":true,"customColor":{"top-bar":"44689A","right-sidebar":"093554","highlight":"F7AB1B"},"publishDate":"2020-01-24T15:43:01.000Z"},"item":[{"name":"Authentication","item":[{"name":"Exchange Code","event":[{"listen":"test","script":{"id":"343cda10-83a5-4ece-a178-ff5cb4459bed","exec":["var parsedResponse = JSON.parse(responseBody);","pm.globals.set(\"TL_ACCESS_TOKEN\", parsedResponse.access_token);","pm.globals.set(\"TL_REFRESH_TOKEN\", parsedResponse.refresh_token);"],"type":"text/javascript"}}],"id":"a22a2779-84f5-419c-af79-9dbe8dbc4a82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"authorization_code","type":"text"},{"key":"client_id","value":"","type":"text"},{"key":"client_secret","value":"","type":"text"},{"key":"redirect_uri","value":"https://console.truelayer.com/redirect-page","type":"text"},{"key":"code","value":"","type":"text"}]},"url":"https://auth.truelayer.com/connect/token","urlObject":{"protocol":"https","path":["connect","token"],"host":["auth.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a22a2779-84f5-419c-af79-9dbe8dbc4a82"},{"name":"Refresh access token","event":[{"listen":"test","script":{"id":"343cda10-83a5-4ece-a178-ff5cb4459bed","exec":["var parsedResponse = JSON.parse(responseBody);","pm.globals.set(\"TL_ACCESS_TOKEN\", parsedResponse.access_token);","pm.globals.set(\"TL_REFRESH_TOKEN\", parsedResponse.refresh_token);"],"type":"text/javascript"}}],"id":"2481c67b-391d-47a5-8621-f1fdc9f731b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"refresh_token","type":"text"},{"key":"client_id","value":"","type":"text"},{"key":"client_secret","value":"","type":"text"},{"key":"refresh_token","value":"{{TL_REFRESH_TOKEN}}","type":"text"}]},"url":"https://auth.truelayer.com/connect/token","urlObject":{"protocol":"https","path":["connect","token"],"host":["auth.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2481c67b-391d-47a5-8621-f1fdc9f731b9"},{"name":"Submit access token for debug","id":"4d137650-80ab-4aed-b303-53114c81f88d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\"access_token\": \"{{TL_ACCESS_TOKEN}}\"}\n","options":{"raw":{"language":"json"}}},"url":"https://auth.truelayer.com/api/debug","urlObject":{"protocol":"https","path":["api","debug"],"host":["auth.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d137650-80ab-4aed-b303-53114c81f88d"}],"id":"8739c3b0-7a46-4bd8-ab07-3d94207f29fa","event":[{"listen":"prerequest","script":{"id":"33d3a273-b890-48cb-9a30-beb68fc08676","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b452998e-0735-4d5d-8919-b2236c815838","type":"text/javascript","exec":[""]}}],"_postman_id":"8739c3b0-7a46-4bd8-ab07-3d94207f29fa","description":""},{"name":"Data API","item":[{"name":"Cards","item":[{"name":"List all cards","event":[{"listen":"test","script":{"id":"5261f62e-d600-49f9-a532-8fff6bc1dea2","exec":["var parsedResponse = JSON.parse(responseBody);","pm.globals.set(\"card_id\", parsedResponse.results[0].account_id);"],"type":"text/javascript"}}],"id":"3b619d75-7af3-4b8c-835d-91a2677344db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/cards","urlObject":{"protocol":"https","path":["data","v1","cards"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b619d75-7af3-4b8c-835d-91a2677344db"},{"name":"Retrieve a card","id":"9b62793e-8168-4a4f-b9e3-b739f454ad89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/cards/{{card_id}}","urlObject":{"protocol":"https","path":["data","v1","cards","{{card_id}}"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b62793e-8168-4a4f-b9e3-b739f454ad89"},{"name":"Retrieve a card balance","id":"f2f8c96c-c7aa-49cf-ab36-471d1b3c3cd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/cards/{{card_id}}/balance","urlObject":{"protocol":"https","path":["data","v1","cards","{{card_id}}","balance"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2f8c96c-c7aa-49cf-ab36-471d1b3c3cd4"},{"name":"Retrieve card transactions","id":"adb714b2-29b7-4ad9-833e-c6ec230c6532","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/cards/{{card_id}}/transactions","urlObject":{"protocol":"https","path":["data","v1","cards","{{card_id}}","transactions"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"adb714b2-29b7-4ad9-833e-c6ec230c6532"},{"name":"Retrieve card pending transactions","id":"95fadd99-246e-4b34-80bc-2ee108460554","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/cards/{{card_id}}/transactions/pending","urlObject":{"protocol":"https","path":["data","v1","cards","{{card_id}}","transactions","pending"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"95fadd99-246e-4b34-80bc-2ee108460554"}],"id":"bf5edea6-d272-4081-b7f5-ec9b3ac3b8f7","_postman_id":"bf5edea6-d272-4081-b7f5-ec9b3ac3b8f7","description":""},{"name":"Accounts","item":[{"name":"List all accounts","event":[{"listen":"test","script":{"id":"d8e62b5a-aa1b-44c9-a4b5-c5ca8e6e48a2","exec":["var parsedResponse = JSON.parse(responseBody);","pm.globals.set(\"account_id\", parsedResponse.results[0].account_id);"],"type":"text/javascript"}}],"id":"1385993e-b176-4f8c-84f8-75137ac28245","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/accounts","urlObject":{"protocol":"https","path":["data","v1","accounts"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1385993e-b176-4f8c-84f8-75137ac28245"},{"name":"Retrieve an account","id":"3358b24f-2b73-4795-990e-2903c31fe84e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/accounts/{{account_id}}","urlObject":{"protocol":"https","path":["data","v1","accounts","{{account_id}}"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3358b24f-2b73-4795-990e-2903c31fe84e"},{"name":"Retrieve account balance","id":"735d8c4f-e779-42b1-b143-5abd1f2175c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/accounts/{{account_id}}/balance","urlObject":{"protocol":"https","path":["data","v1","accounts","{{account_id}}","balance"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"735d8c4f-e779-42b1-b143-5abd1f2175c0"},{"name":"Retrieve account transactions","id":"b09f74ca-a154-43b3-b71c-19abde91fe83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/accounts/{{account_id}}/transactions","urlObject":{"protocol":"https","path":["data","v1","accounts","{{account_id}}","transactions"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b09f74ca-a154-43b3-b71c-19abde91fe83"},{"name":"Retrieve account pending transactions","id":"5c421c5a-21af-44cc-9ad2-87dba482d3e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/accounts/{{account_id}}/transactions/pending","urlObject":{"protocol":"https","path":["data","v1","accounts","{{account_id}}","transactions","pending"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5c421c5a-21af-44cc-9ad2-87dba482d3e4"},{"name":"Retrieve direct debits","id":"8e2cc4c4-d6a3-4fe9-836d-a2393add01cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/accounts/{{account_id}}/direct_debits","urlObject":{"protocol":"https","path":["data","v1","accounts","{{account_id}}","direct_debits"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e2cc4c4-d6a3-4fe9-836d-a2393add01cd"},{"name":"Retrieve standing orders","id":"f6e61760-99a1-4eae-9f71-c8911a1c9029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/accounts/{{account_id}}/standing_orders","urlObject":{"protocol":"https","path":["data","v1","accounts","{{account_id}}","standing_orders"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6e61760-99a1-4eae-9f71-c8911a1c9029"}],"id":"b73eb908-e44a-4fb2-9c04-03058322287a","_postman_id":"b73eb908-e44a-4fb2-9c04-03058322287a","description":""},{"name":"Retrieve access_token metadata","id":"ce711ab7-9aad-4cbe-af27-b73e735fe54a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/me","urlObject":{"protocol":"https","path":["data","v1","me"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce711ab7-9aad-4cbe-af27-b73e735fe54a"},{"name":"Retrieve identity information","id":"b5946820-dd70-4b27-848f-0c37d592b15b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{TL_ACCESS_TOKEN}}"}],"url":"https://api.truelayer.com/data/v1/info","urlObject":{"protocol":"https","path":["data","v1","info"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5946820-dd70-4b27-848f-0c37d592b15b"}],"id":"8aef2f4d-6fba-42a7-9570-3a71476f186d","_postman_id":"8aef2f4d-6fba-42a7-9570-3a71476f186d","description":""},{"name":"Verification","item":[{"name":"Verify Account Holder","event":[{"listen":"prerequest","script":{"id":"bcfab993-2c4f-43ba-adb9-5d4ac3e8ee91","exec":["",""],"type":"text/javascript"}}],"id":"2c41e1b3-c2d2-4c0e-918a-921bf5b3469b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"John Smith\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.truelayer.com/verification/v1/verify","urlObject":{"protocol":"https","path":["verification","v1","verify"],"host":["api.truelayer.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c41e1b3-c2d2-4c0e-918a-921bf5b3469b"}],"id":"95f47ea4-db02-43b3-b234-449a6af8406a","_postman_id":"95f47ea4-db02-43b3-b234-449a6af8406a","description":""}],"event":[{"listen":"prerequest","script":{"id":"fa421abd-9872-4343-b37e-568495243ebe","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9c919c37-baa7-417f-812c-738bd37642fc","type":"text/javascript","exec":[""]}}],"variable":[{"key":"client_id","value":""},{"key":"client_secret","value":""},{"key":"auth_api","value":"auth.truelayer.com"},{"key":"api","value":"api.truelayer.com"},{"key":"auth_dialog_code","value":""}]}