File tree Expand file tree Collapse file tree
components/payments/cmd/connectors/internal/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ type transferInitiationResponse struct {
2525 SourceAccountID string `json:"sourceAccountID"`
2626 DestinationAccountID string `json:"destinationAccountID"`
2727 ConnectorID string `json:"connectorID"`
28+ Provider string `json:"provider"`
2829 Type string `json:"type"`
2930 Amount * big.Int `json:"amount"`
3031 InitialAmount * big.Int `json:"initialAmount"`
@@ -78,6 +79,7 @@ func createTransferInitiationHandler(b backend.ServiceBackend) http.HandlerFunc
7879 SourceAccountID : tf .SourceAccountID .String (),
7980 DestinationAccountID : tf .DestinationAccountID .String (),
8081 ConnectorID : tf .ConnectorID .String (),
82+ Provider : tf .Provider .String (),
8183 Type : tf .Type .String (),
8284 Amount : tf .Amount ,
8385 InitialAmount : tf .InitialAmount ,
Original file line number Diff line number Diff line change @@ -361,6 +361,7 @@ func TestCreateTransferInitiations(t *testing.T) {
361361 SourceAccountID : createTransferInitiationResponse .SourceAccountID .String (),
362362 DestinationAccountID : createTransferInitiationResponse .DestinationAccountID .String (),
363363 ConnectorID : createTransferInitiationResponse .ConnectorID .String (),
364+ Provider : createTransferInitiationResponse .Provider .String (),
364365 Type : createTransferInitiationResponse .Type .String (),
365366 Amount : createTransferInitiationResponse .Amount ,
366367 Asset : createTransferInitiationResponse .Asset .String (),
You can’t perform that action at this time.
0 commit comments