Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pos apm #37

Merged
merged 14 commits into from
Oct 6, 2023
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ client, _ := craftgate.New("<YOUR API KEY>", "<YOUR SECRET KEY>", "https://api.c
request := craftgate.SearchInstallmentsRequest{
BinNumber: "487074",
Price: 100,
Currency: craftgate.TRY,
Currency: craftgate.Currency_TRY,
}

res, err := client.Installment.SearchInstallments(context.Background(), request)
Expand Down Expand Up @@ -61,7 +61,7 @@ client, _ := craftgate.New("<YOUR API KEY>", "<YOUR SECRET KEY>", "https://sandb
request := craftgate.CreatePaymentRequest{
Price: 100,
PaidPrice: 100,
Currency: craftgate.TRY,
Currency: craftgate.Currency_TRY,
...
}

Expand Down
2 changes: 1 addition & 1 deletion adapter/craftgate.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ func newClient(apiKey, secretKey string) *Client {

client.Installment = &Installment{Client: client}
client.Payment = &Payment{Client: client}
client.Onboarding = &Onboarding{Client: client}
client.PaymentReporting = &PaymentReporting{Client: client}
client.Onboarding = &Onboarding{Client: client}
client.PayByLink = &PayByLink{Client: client}
client.Wallet = &Wallet{Client: client}
client.Settlement = &Settlement{Client: client}
Expand Down
Loading