Fake transaction integration

The process of PayIn/PayOut integration was uncomfortable to merchants because of sending real funds. Now merchants can create a transaction for testing the platform that does not require real money transfer.

Guideline

1. Login to the stage contour, entering in the fields e-mail and password previously received from your integration manager.

2. Go to the ‘Cashier’ section and select the needed cashier by clicking on its ID.

3. Choose ‘Generate link’ in the ‘Checkout settings’ section.

4. Specify the amount of the transaction you are looking for, select the payment method and click ‘Generate’. We use a successful transaction for PayIn as an example: in the amount field we had entered 101.

Deposits (PayIn)

101 ₽ — completed transaction

102 ₽ — rejected transaction

PayOuts

201 ₽ — completed transaction

202 ₽ — rejected transaction

5. Check the list of transactions in the merchant’s account. The transaction will appear in the list.

API to deposits (PayIn)

Values for amount: select 101 or 102 depending on the type of transaction.

Body

Name
Type
Description

cassa_id

string

Cashier's ID. Available in the merchant’s personal account

amount

string (number)

Necessary amount to create a fake transaction using fiat currency

currency

string

Transaction fiat currency. Only currency supported by your cashier can be used RUB

payment_method_id

string

Payment method. Provided by support during integration

signature

string

Signature to verify the authenticity of the request. It is generated in md5 from the 'md' string (cassa_id:amount:secret_word_1)

{
    "cassa_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee",
    "amount": 101/102,
    "currency": "RUB",
    "payment_method_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee",
    "signature": "signature md5"
}

API to PayOut

Values for amount: select 201 or 202 depending on the type of transaction.

Headers

Name
Type
Description

api-key

string

API key for requests authentication

Body

Name
Type
Description

amount

string (number)

Transfer amount

bank_id

string

Bank ID. Provided by support during integration

requisites

string

Requisites of the recipient: card number phone number account number

requisites_type

string

Requisites types: card_number for cards phone_number for 'SBP' payment method account_number for transfers by account number

cashier_id

string

Cashier's ID. Available in the merchant’s personal account

webhook_url

string

Address for receiving a webhook with the result of processing the transaction

order_id

string

Your internal transaction ID

payload

object

Additional information for user identification

{
    "amount": 201/202,
    "bank_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee",
    "requisites": "9999999999999999",
    "requisites_type": "card_number",
    "cashier_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee",
    "webhook_url": "https://webhook-dev.simplay.cc/webhook",
    "order_id": "string",
    "payload": {}
}

Last updated