@@ -6,31 +6,31 @@ internal object Endpoint {
66
77 object Paths {
88 object Payment {
9- fun initiatePayment () = " / pis/payment"
10- fun getPaymentStatus (paymentId : String ) = " / pis/payment/$paymentId /status"
11- fun initiatePaymentRefund (paymentId : String ) = " / pis/payment/$paymentId /refunds"
9+ fun initiatePayment () = " pis/payment"
10+ fun getPaymentStatus (paymentId : String ) = " pis/payment/$paymentId /status"
11+ fun initiatePaymentRefund (paymentId : String ) = " pis/payment/$paymentId /refunds"
1212 }
1313
1414 object Auth {
15- fun startAuthentication () = " / auth"
16- fun receiveToken () = " / auth/token"
17- fun receiveTokenContent () = " / auth/token/content"
15+ fun startAuthentication () = " auth"
16+ fun receiveToken () = " auth/token"
17+ fun receiveTokenContent () = " auth/token/content"
1818 }
1919
2020 object General {
21- fun getSupportedCountries () = " / auth/countries"
22- fun getSupportedBanks () = " / auth/banks"
23- fun getSupportedBank (bankId : String ) = " / auth/banks/$bankId "
24- fun getSupportedBankByCardNumberPiece (cardNumberPiece : String ) = " / auth/banks/cards/$cardNumberPiece "
25- fun getPaymentMethods () = " / auth/paymentMethods"
26- fun getProjectSettings () = " / auth/project/settings"
21+ fun getSupportedCountries () = " auth/countries"
22+ fun getSupportedBanks () = " auth/banks"
23+ fun getSupportedBank (bankId : String ) = " auth/banks/$bankId "
24+ fun getSupportedBankByCardNumberPiece (cardNumberPiece : String ) = " auth/banks/cards/$cardNumberPiece "
25+ fun getPaymentMethods () = " auth/paymentMethods"
26+ fun getProjectSettings () = " auth/project/settings"
2727 }
2828
2929 object Account {
30- fun getAccountsList () = " / ais/accounts"
31- fun getAccountDetails (accountId : String ) = " / ais/accounts/$accountId "
32- fun getAccountTransactions (accountId : String ) = " / ais/accounts/$accountId /transactions"
33- fun getAccountBalance (accountId : String ) = " / ais/accounts/$accountId /balance"
30+ fun getAccountsList () = " ais/accounts"
31+ fun getAccountDetails (accountId : String ) = " ais/accounts/$accountId "
32+ fun getAccountTransactions (accountId : String ) = " ais/accounts/$accountId /transactions"
33+ fun getAccountBalance (accountId : String ) = " ais/accounts/$accountId /balance"
3434 }
3535 }
3636}
0 commit comments