feat: add payment module
This commit is contained in:
24
.bruno/Payment/account/create.bru
Normal file
24
.bruno/Payment/account/create.bru
Normal file
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: Create
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/payment/wallets
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"ledgerId": "3c71d240-a375-42e1-9a78-0575bf33fabb",
|
||||
"entityId": "some-external-entity",
|
||||
"label": "Securities"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
4
.bruno/Payment/account/folder.bru
Normal file
4
.bruno/Payment/account/folder.bru
Normal file
@@ -0,0 +1,4 @@
|
||||
meta {
|
||||
name: Wallet
|
||||
seq: 3
|
||||
}
|
||||
20
.bruno/Payment/beneficiary/Ledgers.bru
Normal file
20
.bruno/Payment/beneficiary/Ledgers.bru
Normal file
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: Ledgers
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/payment/beneficiaries/:id/ledgers
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: a0a6aa39-5d13-4717-9554-a878d7f30ea7
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
23
.bruno/Payment/beneficiary/create.bru
Normal file
23
.bruno/Payment/beneficiary/create.bru
Normal file
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Create
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/payment/beneficiaries
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"tenantId": "valkyr-inc",
|
||||
"label": "Valkyr Inc."
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
20
.bruno/Payment/beneficiary/dashboard.bru
Normal file
20
.bruno/Payment/beneficiary/dashboard.bru
Normal file
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: Dashboard
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/payment/dashboard/:id
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 2f6dfb20-7834-484c-8472-096f72fc5f08
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
4
.bruno/Payment/beneficiary/folder.bru
Normal file
4
.bruno/Payment/beneficiary/folder.bru
Normal file
@@ -0,0 +1,4 @@
|
||||
meta {
|
||||
name: Beneficiary
|
||||
seq: 1
|
||||
}
|
||||
20
.bruno/Payment/beneficiary/id.bru
Normal file
20
.bruno/Payment/beneficiary/id.bru
Normal file
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: :id
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/payment/beneficiaries/:id
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: a0a6aa39-5d13-4717-9554-a878d7f30ea7
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
16
.bruno/Payment/beneficiary/list.bru
Normal file
16
.bruno/Payment/beneficiary/list.bru
Normal file
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: List
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/payment/beneficiaries
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
4
.bruno/Payment/folder.bru
Normal file
4
.bruno/Payment/folder.bru
Normal file
@@ -0,0 +1,4 @@
|
||||
meta {
|
||||
name: Payment
|
||||
seq: 2
|
||||
}
|
||||
27
.bruno/Payment/ledger/create.bru
Normal file
27
.bruno/Payment/ledger/create.bru
Normal file
@@ -0,0 +1,27 @@
|
||||
meta {
|
||||
name: Create
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/payment/ledgers
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"beneficiaryId": "2f6dfb20-7834-484c-8472-096f72fc5f08",
|
||||
"label": "Sample Ledger",
|
||||
"currencies": [
|
||||
"NOK",
|
||||
"SEK"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
4
.bruno/Payment/ledger/folder.bru
Normal file
4
.bruno/Payment/ledger/folder.bru
Normal file
@@ -0,0 +1,4 @@
|
||||
meta {
|
||||
name: Ledger
|
||||
seq: 2
|
||||
}
|
||||
20
.bruno/Payment/ledger/wallets.bru
Normal file
20
.bruno/Payment/ledger/wallets.bru
Normal file
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: Wallets
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/payment/ledgers/:id/wallets
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 3c71d240-a375-42e1-9a78-0575bf33fabb
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
24
.bruno/Payment/wallet/create.bru
Normal file
24
.bruno/Payment/wallet/create.bru
Normal file
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: Create
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/payment/accounts
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"walletId": "56f2aba8-5687-4e63-8d6a-e120b50ef891",
|
||||
"currency": "NOK",
|
||||
"label": "NOK Savings"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
4
.bruno/Payment/wallet/folder.bru
Normal file
4
.bruno/Payment/wallet/folder.bru
Normal file
@@ -0,0 +1,4 @@
|
||||
meta {
|
||||
name: Account
|
||||
seq: 4
|
||||
}
|
||||
Reference in New Issue
Block a user