YooMoney API
Guides
Old versions of the API
Help
Sign up for YooMoney
Testing OAuth
To test the integration, you need a demo store in YooMoney. The payment process in the demo store is identical to the actual payment process, except the money is not transferred anywhere.
 
Demo store
To create a demo store:
Step 1. Sign up for YooMoney using this link.
Step 2. In the process, you'll see two options: continue sign-up or proceed to testing payments. Select testing payments.
Done! You'll see the created demo store.
Testing the interaction with the API
Get an OAuth token for the demo store and use it to process test payments.
Specifics of test mode:
  • special test data must be specified in the requests (depending on which features you'd like to test);
  • the test parameter has value true in payment objects created for the demo store.
Example of a test payment
JSON
{
  "id": "23d93cac-000f-5000-8000-126628f15141",
  "status": "pending",
  "paid": false,
  "amount": {
    "value": "2.00",
    "currency": "RUB"
  },
  "confirmation": {
    "type": "redirect",
    "confirmation_url": "https://yoomoney.ru/api-pages/v2/payment-confirm/epl?orderId=23d93cac-000f-5000-8000-126628f15141"
  },
  "created_at": "2019-01-22T14:30:45.129Z",
  "description": "Order No. 1",
  "metadata": {},
  "recipient": {
    "account_id": "100500",
    "gateway_id": "100700"
  },
  "refundable": false,
  "test": true
}
See also