mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* Reflect new amount for returned/reverted transaction. * Enhance payout and transfer response structures with transaction IDs and pending transaction IDs; * Update payment creation logic to utilize new fields. * Remove periodic execution of fetch_payments * Update ParentReference and Reference fields in payment model for transfer creation * Update pkg/client/ * Set return payment to SUCCEEDED, remove adjustment update * trigger ready for review * retrigger CI * Reuse Refund functionality instead of created Returned upsert operation * fix: ensure PendingTimeline and DeclinedTimeline are preserved in payments state test: add unit test to preserve timeline states in FetchNextPayments * Retrigger CI --------- Co-authored-by: gitstart_bot <[email protected]>
18 lines
453 B
Go
18 lines
453 B
Go
package increase
|
|
|
|
import "github.com/formancehq/payments/internal/models"
|
|
|
|
var capabilities = []models.Capability{
|
|
models.CAPABILITY_FETCH_ACCOUNTS,
|
|
models.CAPABILITY_FETCH_BALANCES,
|
|
models.CAPABILITY_FETCH_EXTERNAL_ACCOUNTS,
|
|
models.CAPABILITY_FETCH_PAYMENTS,
|
|
|
|
models.CAPABILITY_CREATE_TRANSFER,
|
|
models.CAPABILITY_CREATE_PAYOUT,
|
|
models.CAPABILITY_CREATE_BANK_ACCOUNT,
|
|
|
|
models.CAPABILITY_TRANSLATE_WEBHOOKS,
|
|
models.CAPABILITY_CREATE_WEBHOOKS,
|
|
}
|