Template
1
0

feat: add payment module

This commit is contained in:
2025-12-05 01:56:42 +01:00
parent a818f3135a
commit be9b8e9e55
160 changed files with 8615 additions and 1158 deletions

View 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
}

View File

@@ -0,0 +1,4 @@
meta {
name: Wallet
seq: 3
}

View 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
}

View 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
}

View 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
}

View File

@@ -0,0 +1,4 @@
meta {
name: Beneficiary
seq: 1
}

View 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
}

View 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
}

View File

@@ -0,0 +1,4 @@
meta {
name: Payment
seq: 2
}

View 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
}

View File

@@ -0,0 +1,4 @@
meta {
name: Ledger
seq: 2
}

View 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
}

View 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
}

View File

@@ -0,0 +1,4 @@
meta {
name: Account
seq: 4
}