Sync Postman.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
$kind: collection
|
||||
order: 4162680831488136
|
||||
@@ -0,0 +1,2 @@
|
||||
$kind: collection
|
||||
order: 2000
|
||||
@@ -0,0 +1,5 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/accounts/cb9b9fe6-1d4d-4b97-af75-2bda9e44a6dd
|
||||
method: DELETE
|
||||
settings: {}
|
||||
order: 4000
|
||||
@@ -0,0 +1,8 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/accounts/cb9b9fe6-1d4d-4b97-af75-2bda9e44a6dd
|
||||
method: GET
|
||||
body:
|
||||
type: text
|
||||
content: "{}"
|
||||
settings: {}
|
||||
order: 2000
|
||||
@@ -0,0 +1,9 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/accounts?name=&limit=20&offset=0
|
||||
method: GET
|
||||
queryParams:
|
||||
name: ""
|
||||
limit: "20"
|
||||
offset: "0"
|
||||
settings: {}
|
||||
order: 1000
|
||||
@@ -0,0 +1,11 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/accounts/cb9b9fe6-1d4d-4b97-af75-2bda9e44a6dd
|
||||
method: PUT
|
||||
body:
|
||||
type: json
|
||||
content: |-
|
||||
{
|
||||
"name": "ASN Bank Checking"
|
||||
}
|
||||
settings: {}
|
||||
order: 3000
|
||||
@@ -0,0 +1,2 @@
|
||||
$kind: collection
|
||||
order: 1000
|
||||
@@ -0,0 +1,2 @@
|
||||
$kind: collection
|
||||
order: 1000
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/auth/passkey/options
|
||||
method: POST
|
||||
order: 1000
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/auth/passkey/verify
|
||||
method: POST
|
||||
order: 2000
|
||||
@@ -0,0 +1,2 @@
|
||||
$kind: collection
|
||||
order: 2000
|
||||
@@ -0,0 +1,9 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/auth/token
|
||||
method: POST
|
||||
body:
|
||||
type: urlencoded
|
||||
content:
|
||||
grant_type: refresh_token
|
||||
refresh_token: "{{refresh_token}}"
|
||||
order: 2000
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/auth/token
|
||||
method: POST
|
||||
body:
|
||||
type: urlencoded
|
||||
content:
|
||||
grant_type: client_credentials
|
||||
client_id: "{{user_app_id}}"
|
||||
client_secret: "{{user_app_secret}}"
|
||||
scripts:
|
||||
- type: afterResponse
|
||||
code: |-
|
||||
var access_token = pm.response.json()["access_token"];
|
||||
pm.collectionVariables.set("access_token", access_token);
|
||||
|
||||
var refresh_token = pm.response.json()["refresh_token"];
|
||||
pm.collectionVariables.set("refresh_token", access_token);
|
||||
language: text/javascript
|
||||
order: 1000
|
||||
@@ -0,0 +1,8 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/auth/token/revoke
|
||||
method: POST
|
||||
body:
|
||||
type: urlencoded
|
||||
content:
|
||||
token: "{{refresh_token}}"
|
||||
order: 3000
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
$kind: collection
|
||||
order: 3000
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/scheduled-transactions/40bda5b3-451e-4c5e-8aeb-af14f8b95e69
|
||||
method: DELETE
|
||||
settings: {}
|
||||
order: 4000
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/scheduled-transactions/40bda5b3-451e-4c5e-8aeb-af14f8b95e69
|
||||
method: GET
|
||||
settings: {}
|
||||
order: 2000
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/scheduled-transactions?limit=20&offset=0
|
||||
method: GET
|
||||
queryParams:
|
||||
limit: "20"
|
||||
offset: "0"
|
||||
settings: {}
|
||||
order: 1000
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/scheduled-transactions/40bda5b3-451e-4c5e-8aeb-af14f8b95e69
|
||||
method: PUT
|
||||
body:
|
||||
type: json
|
||||
content: |-
|
||||
{
|
||||
"type": "recurring",
|
||||
"name": "DUO",
|
||||
"account": {
|
||||
"id": "cb9b9fe6-1d4d-4b97-af75-2bda9e44a6dd"
|
||||
},
|
||||
"amount_cents": 140,
|
||||
"direction": "out",
|
||||
"schedule": {
|
||||
"start": "2026-09-25T09:00:00.000Z",
|
||||
"recurrence": {
|
||||
"every": 4,
|
||||
"unit": "week"
|
||||
},
|
||||
"weekend_adjustment": "previous_business_day"
|
||||
}
|
||||
}
|
||||
settings: {}
|
||||
order: 3000
|
||||
@@ -0,0 +1,2 @@
|
||||
$kind: collection
|
||||
order: 4000
|
||||
@@ -0,0 +1,5 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/transactions/147b49b7-fbe8-475b-a52d-e35f0fc47057
|
||||
method: DELETE
|
||||
settings: {}
|
||||
order: 4000
|
||||
@@ -0,0 +1,8 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/transactions/147b49b7-fbe8-475b-a52d-e35f0fc47057
|
||||
method: GET
|
||||
body:
|
||||
type: text
|
||||
content: "{}"
|
||||
settings: {}
|
||||
order: 2000
|
||||
@@ -0,0 +1,8 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/transactions?limit=20&offset=0
|
||||
method: GET
|
||||
queryParams:
|
||||
limit: "20"
|
||||
offset: "0"
|
||||
settings: {}
|
||||
order: 1000
|
||||
@@ -0,0 +1,17 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/transactions/147b49b7-fbe8-475b-a52d-e35f0fc47057
|
||||
method: PUT
|
||||
body:
|
||||
type: json
|
||||
content: |-
|
||||
{
|
||||
"description": "BBQ sauce",
|
||||
"account": {
|
||||
"id": "cb9b9fe6-1d4d-4b97-af75-2bda9e44a6dd"
|
||||
},
|
||||
"amount_cents": 450,
|
||||
"direction": "out",
|
||||
"date": "2025-10-12T16:27:00.000Z"
|
||||
}
|
||||
settings: {}
|
||||
order: 3000
|
||||
@@ -0,0 +1,2 @@
|
||||
$kind: collection
|
||||
order: 5000
|
||||
@@ -0,0 +1,2 @@
|
||||
$kind: collection
|
||||
order: 1000
|
||||
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0
|
||||
method: DELETE
|
||||
order: 5000
|
||||
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0
|
||||
method: GET
|
||||
order: 3000
|
||||
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps
|
||||
method: GET
|
||||
order: 2000
|
||||
@@ -0,0 +1,2 @@
|
||||
$kind: collection
|
||||
order: 1000
|
||||
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0/secrets/0b4099cd-6959-4738-8456-0adcbc891f80
|
||||
method: DELETE
|
||||
order: 4000
|
||||
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0/secrets/0b4099cd-6959-4738-8456-0adcbc891f80
|
||||
method: GET
|
||||
order: 2000
|
||||
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0/secrets
|
||||
method: GET
|
||||
order: 1000
|
||||
@@ -0,0 +1,16 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0/secrets/0b4099cd-6959-4738-8456-0adcbc891f80
|
||||
method: PUT
|
||||
body:
|
||||
type: json
|
||||
content: |-
|
||||
{
|
||||
"expires_at": "2027-01-01T00:00:00.000Z"
|
||||
}
|
||||
scripts:
|
||||
- type: afterResponse
|
||||
code: |-
|
||||
var user_app_secret = pm.response.json()["secret"];
|
||||
pm.collectionVariables.set("user_app_secret", user_app_secret);
|
||||
language: text/javascript
|
||||
order: 3000
|
||||
@@ -0,0 +1,13 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03/apps/49832582-a455-4f76-b7ad-f6c3807245a0
|
||||
method: PUT
|
||||
body:
|
||||
type: json
|
||||
content: "{}"
|
||||
scripts:
|
||||
- type: afterResponse
|
||||
code: |-
|
||||
var user_app_id = pm.response.json()["id"];
|
||||
pm.collectionVariables.set("user_app_id", user_app_id);
|
||||
language: text/javascript
|
||||
order: 4000
|
||||
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03
|
||||
method: DELETE
|
||||
order: 5000
|
||||
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03
|
||||
method: GET
|
||||
order: 3000
|
||||
@@ -0,0 +1,4 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users
|
||||
method: GET
|
||||
order: 2000
|
||||
@@ -0,0 +1,7 @@
|
||||
$kind: http-request
|
||||
url: http://localhost:3000/api/users/9a25ee3f-a595-43ef-8be6-38362f26ae03
|
||||
method: PUT
|
||||
body:
|
||||
type: json
|
||||
content: "{}"
|
||||
order: 4000
|
||||
Reference in New Issue
Block a user