Getting started

The API base URL is https://yorkonthe.net/api/wallet.

  1. Sign in to York and create a key in Wallet API. Copy the full key displayed when you create it.
  2. Create a transaction from your app’s server and store the returned id alongside your order.
  3. Send the user to https://yorkonthe.net/carteira/pagar/TRANSACTION_ID. They sign in to their own account and confirm payment.
  4. Retrieve the transaction from your server. Fulfill the order only after verifying status: paid and the order details.

Creating a transaction does not move funds. The API key identifies your app; payment requires the user’s confirmation on York.