Skip to content

Commit e875a30

Browse files
authored
Update base url readme (#296)
* updated readme with baseURL instructions * updated_readme_baseUrl * adjusted readme
1 parent 8490df1 commit e875a30

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,15 @@ Pass the dictionary as an additional argument to the method where you make the A
167167
adyen.checkout.payments_api.payments(header_parameters=headers)
168168
~~~~
169169

170+
### Customizing Base URL
171+
172+
Instantiate the service and replace the baseUrl with your own URL
173+
174+
~~~~ python
175+
service = adyen.checkout.payments_api
176+
service.baseUrl = "localhost:8080"
177+
~~~~
178+
170179
### Handling exceptions
171180

172181
Adyen service exceptions extend the AdyenError class. After you catch this exception, you can access the

0 commit comments

Comments
 (0)