Skip to content

Commit 01fb6a9

Browse files
author
gitstart_bot
committed
Add moov fee to metadata, prune client setup, bump moov sdk to 0.19 and Go to 1.24.4
Update namespace from 'com' to 'io'
1 parent 4caa1e7 commit 01fb6a9

File tree

12 files changed

+59
-399
lines changed

12 files changed

+59
-399
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"adyen":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_CREATE_WEBHOOKS","CAPABILITY_TRANSLATE_WEBHOOKS"],"atlar":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_FETCH_OTHERS"],"bankingcircle":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_CREATE_BANK_ACCOUNT","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"column":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_BANK_ACCOUNT","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT","CAPABILITY_CREATE_WEBHOOKS","CAPABILITY_TRANSLATE_WEBHOOKS"],"currencycloud":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"dummypay":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_ALLOW_FORMANCE_ACCOUNT_CREATION","CAPABILITY_ALLOW_FORMANCE_PAYMENT_CREATION","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"generic":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_ALLOW_FORMANCE_ACCOUNT_CREATION","CAPABILITY_ALLOW_FORMANCE_PAYMENT_CREATION"],"increase":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT","CAPABILITY_CREATE_BANK_ACCOUNT","CAPABILITY_TRANSLATE_WEBHOOKS","CAPABILITY_CREATE_WEBHOOKS"],"mangopay":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_FETCH_OTHERS","CAPABILITY_CREATE_BANK_ACCOUNT","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT","CAPABILITY_CREATE_WEBHOOKS","CAPABILITY_TRANSLATE_WEBHOOKS"],"modulr":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"moneycorp":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"qonto":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS"],"stripe":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"wise":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_FETCH_OTHERS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT","CAPABILITY_CREATE_WEBHOOKS","CAPABILITY_TRANSLATE_WEBHOOKS"]}
1+
{"adyen":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_CREATE_WEBHOOKS","CAPABILITY_TRANSLATE_WEBHOOKS"],"atlar":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_FETCH_OTHERS"],"bankingcircle":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_CREATE_BANK_ACCOUNT","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"column":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_BANK_ACCOUNT","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT","CAPABILITY_CREATE_WEBHOOKS","CAPABILITY_TRANSLATE_WEBHOOKS"],"currencycloud":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"dummypay":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_ALLOW_FORMANCE_ACCOUNT_CREATION","CAPABILITY_ALLOW_FORMANCE_PAYMENT_CREATION","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"generic":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_ALLOW_FORMANCE_ACCOUNT_CREATION","CAPABILITY_ALLOW_FORMANCE_PAYMENT_CREATION"],"increase":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT","CAPABILITY_CREATE_BANK_ACCOUNT","CAPABILITY_TRANSLATE_WEBHOOKS","CAPABILITY_CREATE_WEBHOOKS"],"mangopay":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_FETCH_OTHERS","CAPABILITY_CREATE_BANK_ACCOUNT","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT","CAPABILITY_CREATE_WEBHOOKS","CAPABILITY_TRANSLATE_WEBHOOKS"],"modulr":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"moneycorp":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"moov":["CAPABILITY_FETCH_OTHERS","CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_PAYOUT"],"qonto":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS"],"stripe":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT"],"wise":["CAPABILITY_FETCH_ACCOUNTS","CAPABILITY_FETCH_BALANCES","CAPABILITY_FETCH_EXTERNAL_ACCOUNTS","CAPABILITY_FETCH_PAYMENTS","CAPABILITY_FETCH_OTHERS","CAPABILITY_CREATE_TRANSFER","CAPABILITY_CREATE_PAYOUT","CAPABILITY_CREATE_WEBHOOKS","CAPABILITY_TRANSLATE_WEBHOOKS"]}

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/formancehq/payments
22

3-
go 1.23.2
3+
go 1.24
44

5-
toolchain go1.23.5
5+
toolchain go1.24.4
66

77
replace github.com/formancehq/payments/pkg/client => ./pkg/client
88

@@ -32,7 +32,7 @@ require (
3232
github.com/jackc/pgx/v5 v5.7.5
3333
github.com/jackc/pgxlisten v0.0.0-20241005155529-9d952acd6a6c
3434
github.com/lib/pq v1.10.9
35-
github.com/moovfinancial/moov-go v0.12.0
35+
github.com/moovfinancial/moov-go v0.19.0
3636
github.com/nats-io/nats.go v1.43.0
3737
github.com/onsi/ginkgo/v2 v2.23.4
3838
github.com/onsi/gomega v1.37.0
@@ -109,7 +109,7 @@ require (
109109
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
110110
github.com/go-chi/chi v4.1.2+incompatible // indirect
111111
github.com/go-chi/render v1.0.3 // indirect
112-
github.com/go-jose/go-jose/v4 v4.0.5 // indirect
112+
github.com/go-jose/go-jose/v4 v4.1.0 // indirect
113113
github.com/go-logr/logr v1.4.2 // indirect
114114
github.com/go-logr/stdr v1.2.2 // indirect
115115
github.com/go-ole/go-ole v1.3.0 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -779,8 +779,8 @@ github.com/go-chi/chi/v5 v5.2.2 h1:CMwsvRVTbXVytCk1Wd72Zy1LAsAh9GxMmSNWLHCG618=
779779
github.com/go-chi/chi/v5 v5.2.2/go.mod h1:L2yAIGWB3H+phAw1NxKwWM+7eUH/lU8pOMm5hHcoops=
780780
github.com/go-chi/render v1.0.3 h1:AsXqd2a1/INaIfUSKq3G5uA8weYx20FOsM7uSoCyyt4=
781781
github.com/go-chi/render v1.0.3/go.mod h1:/gr3hVkmYR0YlEy3LxCuVRFzEu9Ruok+gFqbIofjao0=
782-
github.com/go-faker/faker/v4 v4.6.0 h1:6aOPzNptRiDwD14HuAnEtlTa+D1IfFuEHO8+vEFwjTs=
783-
github.com/go-faker/faker/v4 v4.6.0/go.mod h1:ZmrHuVtTTm2Em9e0Du6CJ9CADaLEzGXW62z1YqFH0m0=
782+
github.com/go-faker/faker/v4 v4.6.1 h1:xUyVpAjEtB04l6XFY0V/29oR332rOSPWV4lU8RwDt4k=
783+
github.com/go-faker/faker/v4 v4.6.1/go.mod h1:arSdxNCSt7mOhdk8tEolvHeIJ7eX4OX80wXjKKvkKBY=
784784
github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g=
785785
github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks=
786786
github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY=
@@ -789,8 +789,8 @@ github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmn
789789
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
790790
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
791791
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
792-
github.com/go-jose/go-jose/v4 v4.0.5 h1:M6T8+mKZl/+fNNuFHvGIzDz7BTLQPIounk/b9dw3AaE=
793-
github.com/go-jose/go-jose/v4 v4.0.5/go.mod h1:s3P1lRrkT8igV8D9OjyL4WRyHvjB6a4JSllnOrmmBOA=
792+
github.com/go-jose/go-jose/v4 v4.1.0 h1:cYSYxd3pw5zd2FSXk2vGdn9igQU2PS8MuxrCOCl0FdY=
793+
github.com/go-jose/go-jose/v4 v4.1.0/go.mod h1:GG/vqmYm3Von2nYiB2vGTXzdoNKE5tix5tuc6iAd+sw=
794794
github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
795795
github.com/go-latex/latex v0.0.0-20210118124228-b3d85cf34e07/go.mod h1:CO1AlKB2CSIqUrmQPqA0gdRIlnLEY0gK5JGjh37zN5U=
796796
github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81/go.mod h1:SX0U8uGpxhq9o2S/CELCSUxEWWAuoCUcVCQWv7G2OCk=
@@ -1106,8 +1106,8 @@ github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3N
11061106
github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo=
11071107
github.com/moby/term v0.5.0 h1:xt8Q1nalod/v7BqbG21f8mQPqH+xAaC9C3N3wfWbVP0=
11081108
github.com/moby/term v0.5.0/go.mod h1:8FzsFHVUBGZdbDsJw/ot+X+d5HLUbvklYLJ9uGfcI3Y=
1109-
github.com/moovfinancial/moov-go v0.12.0 h1:Xe04OPIMUXc240UdP453AiGc2RK8fx9nMH8nJYG+xd4=
1110-
github.com/moovfinancial/moov-go v0.12.0/go.mod h1:Djgfk2FlEIzKCR8sxlSbzLOJcPN1ZD0un8RayW2qCvQ=
1109+
github.com/moovfinancial/moov-go v0.19.0 h1:ludBcemHZ3ZxplyiP8OCQE3kvjp/CU3pSy/2hVZsRxQ=
1110+
github.com/moovfinancial/moov-go v0.19.0/go.mod h1:kkzhacVNJOrOu1eUMtDWbqtUWw5lCnZzaHxy8NZZccQ=
11111111
github.com/muhlemmer/gu v0.3.1 h1:7EAqmFrW7n3hETvuAdmFmn4hS8W+z3LgKtrnow+YzNM=
11121112
github.com/muhlemmer/gu v0.3.1/go.mod h1:YHtHR+gxM+bKEIIs7Hmi9sPT3ZDUvTN/i88wQpZkrdM=
11131113
github.com/muhlemmer/httpforwarded v0.1.0 h1:x4DLrzXdliq8mprgUMR0olDvHGkou5BJsK/vWUetyzY=

internal/connectors/plugins/public/moov/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ To install the Column connector, use the following configuration:
2121

2222
### Configuration Parameters
2323

24-
| Parameter | Description | Required |
25-
| --------------- | ------------------------------------------------------ | -------- |
26-
| `name` | The name of the connector | Yes |
27-
| `pollingPeriod` | The frequency at which the connector polls for updates | Yes |
28-
| `endpoint` | The Moov API endpoint | Yes |
29-
| `privateKey` | Your Moov API Private key | Yes |
30-
| `publicKey` | Your Moov API Public key | Yes |
31-
| `accountID` | Your Moov Merchant Account ID, can be gotten from business page in the moov dashboard | Yes |
32-
| `pageSize` | The number of items to fetch per page | No |
24+
| Parameter | Description | Required |
25+
| --------------- | ------------------------------------------------------------------------------------- | -------- |
26+
| `name` | The name of the connector | Yes |
27+
| `pollingPeriod` | The frequency at which the connector polls for updates | Yes |
28+
| `endpoint` | The Moov API endpoint | Yes |
29+
| `privateKey` | Your Moov API Private key | Yes |
30+
| `publicKey` | Your Moov API Public key | Yes |
31+
| `accountID` | Your Moov Merchant Account ID, can be gotten from business page in the moov dashboard | Yes |
32+
| `pageSize` | The number of items to fetch per page | No |
3333

3434
## Features
3535

@@ -141,7 +141,7 @@ When integrating with the Moov connector, we recommend the following workflow:
141141

142142
2. **Get Available Payment Methods**:
143143
- Use accounts IDs to fetch the supported payment methods between two accounts from Moov API. https://api.moov.io/transfer-options
144-
- Search the returned payment methods to get the corresponding `com.moov.spec/sourcePaymentMethodId` and `com.moov.spec/destinationPaymentMethodId`
144+
- Search the returned payment methods to get the corresponding `io.moov.spec/sourcePaymentMethodId` and `io.moov.spec/destinationPaymentMethodId`
145145

146146
3. **Create the Payment**:
147147
- Provide the source and destination payment method IDs
@@ -170,16 +170,16 @@ Example of create payout payload
170170
"SourceAccountID": "eyJDb25uZWN0b3JJRCI6eyJQcm92aWRlciI6Im1vb3.........",
171171
"DestinationAccountID": "eyJDb25uZWN0b3JJRCI6eyJQcm92aWRlciI6Im1vb3YiL...........",
172172
"metadata": {
173-
"com.moov.spec/type": "ach",
174-
"com.moov.spec/destinationPaymentMethodId": "bb6160b7-8ecf-4f66-b72e-a9a96243689c",
175-
"com.moov.spec/sourcePaymentMethodId": "029ab065-82f0-4eb2-97c9-6d0bf363fd41"
173+
"io.moov.spec/type": "ach",
174+
"io.moov.spec/destinationPaymentMethodId": "bb6160b7-8ecf-4f66-b72e-a9a96243689c",
175+
"io.moov.spec/sourcePaymentMethodId": "029ab065-82f0-4eb2-97c9-6d0bf363fd41"
176176
}
177177
}
178178
```
179179

180180
## Metadata Keys
181181

182-
The Moov connector uses the following metadata keys with the namespace `com.moov.spec/`:
182+
The Moov connector uses the following metadata keys with the namespace `io.moov.spec/`:
183183

184184
### ACH Payment Creation
185185

@@ -236,4 +236,4 @@ The Moov connector uses the following metadata keys with the namespace `com.moov
236236
#### Card Payment Keys
237237
- `sourceCardDynamicDescriptor` - Dynamic descriptor for source card transactions (max 22 characters)
238238
- `sourceCardTransactionSource` - Source of the card transaction (e.g., "first-recurring", "recurring", "unscheduled")
239-
- `destinationCardDynamicDescriptor` - Dynamic descriptor for destination card transactions (max 22 characters)
239+
- `destinationCardDynamicDescriptor` - Dynamic descriptor for destination card transactions (max 22 characters)

internal/connectors/plugins/public/moov/client/client.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ type MoovClient interface {
3333
}
3434

3535
type PaymentOptionsRequest struct {
36+
PartnerAccountID string
3637
SourceAccountID string
3738
DestinationAccountID string
3839
Amount int64
@@ -46,9 +47,6 @@ type serviceWrapper struct {
4647
type client struct {
4748
service MoovClient
4849

49-
publicKey string
50-
secretKey string
51-
endpoint string
5250
accountID string
5351
}
5452

@@ -77,7 +75,7 @@ func (c *serviceWrapper) CreateMoovTransfer(ctx context.Context, partnerAccountI
7775
}
7876

7977
func (c *serviceWrapper) GetMoovTransferOptions(ctx context.Context, request PaymentOptionsRequest) (*moov.TransferOptions, error) {
80-
return c.TransferOptions(ctx, moov.CreateTransferOptions{
78+
return c.TransferOptions(ctx, request.PartnerAccountID, moov.CreateTransferOptions{
8179
Source: moov.CreateTransferOptionsTarget{
8280
AccountID: request.SourceAccountID,
8381
},
@@ -108,9 +106,6 @@ func New(connectorName string, endpoint string, publicKey string, secretKey stri
108106

109107
client := &client{
110108
service: &serviceWrapper{moovClient},
111-
endpoint: endpoint,
112-
publicKey: publicKey,
113-
secretKey: secretKey,
114109
accountID: accountID,
115110
}
116111

internal/connectors/plugins/public/moov/client/metadata.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package client
22

33
const (
4-
moovMetadataSpecNamespace = "com.moov.spec/"
4+
moovMetadataSpecNamespace = "io.moov.spec/"
55

66
MoovWalletCurrencyMetadataKey = moovMetadataSpecNamespace + "walletCurrency"
77
MoovWalletValueMetadataKey = moovMetadataSpecNamespace + "walletValue"
@@ -59,4 +59,8 @@ const (
5959
// Sales tax metadata keys
6060
MoovSalesTaxAmountCurrencyMetadataKey = moovMetadataSpecNamespace + "salesTaxAmountCurrency"
6161
MoovSalesTaxAmountValueMetadataKey = moovMetadataSpecNamespace + "salesTaxAmountvalue"
62+
63+
// Moov fee metadata keys
64+
MoovFeeAmountMetadataKey = moovMetadataSpecNamespace + "moovFeeAmount"
65+
MoovFeeAmountDecimalMetadataKey = moovMetadataSpecNamespace + "moovFeeAmountDecimal"
6266
)

internal/connectors/plugins/public/moov/client/payment_methods.go

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)