move api/server to api/edge/bff
This commit is contained in:
13
api/edge/bff/internal/server/paymentapiimp/payimmediate.go
Normal file
13
api/edge/bff/internal/server/paymentapiimp/payimmediate.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package paymentapiimp
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/tech/sendico/pkg/model"
|
||||
"github.com/tech/sendico/server/interface/api/sresponse"
|
||||
)
|
||||
|
||||
// initiateImmediate runs a one-shot payment using a fresh quote.
|
||||
func (a *PaymentAPI) initiateImmediate(r *http.Request, account *model.Account, token *sresponse.TokenData) http.HandlerFunc {
|
||||
return a.initiatePayment(r, account, token, false)
|
||||
}
|
||||
Reference in New Issue
Block a user