Getting started
The API base URL is https://yorkonthe.net/api/wallet.
- Sign in to York and create a key in Wallet API. Copy the full key displayed when you create it.
- Create a transaction from your app’s server and store the returned
idalongside your order. - Send the user to
https://yorkonthe.net/carteira/pagar/TRANSACTION_ID. They sign in to their own account and confirm payment. - Retrieve the transaction from your server. Fulfill the order only after verifying
status: paidand the order details.
Creating a transaction does not move funds. The API key identifies your app; payment requires the user’s confirmation on York.