---
# System prepended metadata

title: Test Partner Settings

---

УКР | ENG
![](https://i.imgur.com/ULmPUgP.jpg)


# Test Partner Settings

Parameters listed below are used for testing any operations and getting acquainted with XPAY services as a **Test Partner**, for which all necessary permissions are provided.


## API Access Parameters

**Test environment**:

```
https://stage-papi.xpaydirect.com/xpay
```


:::info
Test **"PartnerToken"**:
~~~
72a8ddb8-9145-4a41-af1a-8c48ecaa4be1
~~~

Test **"private key"**:

~~~
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEApEHWZ6aLyNhBLLcW+HrxOzpc/39tDipNGiU+37DZrq2b5bkd
oSc+Tp2yTXc3JBA8czwewSyiL51r7azwAPP6lzh2iTxQgH96LD6IR285GQzvgN4k
adoK06qC/4BpD+4hu8Zuj9uvnpqi0a5zNr4ckd/kNC2rtemg/MX4xvwzwstcK035
YXm8XZjAKzrrylwKDl7czmnUpWZBbtvF4SO368YEbMRfnCWcGF6WrFdqrOZq1w0F
v0+5bRAbQwSwI0klGZGqlaicsg7SaHWFONFy9o/i2+/j/X43xH1aqfzNek4bHzfh
N8BCV5am/Jv8GBOuxGFsSRYDUSgRk+jbpZ4DzQIDAQABAoIBAF6jkGUoEGIoN2UM
GLASJet6NRsA0FTZCpOF4jQAMWvzm19AyVGQytWBBrqbdanRsQK0IQQsM0Y77XOD
sMTbzgZTAfkQR1HCISJc5ShDbSKB0XzugQx8FMDf/Zo44k/LZKRMMGeyq/02G5m0
aa2g29UwqstlhQnLEnaRmkUMCsaweFbsyXCkfDSVOCTJRz2rtI0hBK7tCShyzS0I
DN/2lbpLQZFPPqqCgK+9vOXIec5iL9/uC5n4L/szz0FZ9+oE8NPcrVhocBobHeCk
RnOXHTWHmKU6C6njRdm4agX5d5kdmzXQxp+VtY6yn8UBzZmp1y5fOKUnY0pbvF2p
XHI5ggECgYEA1zdirKZFBZqd+HPF2vYTieqIF3cTeI7VhoATzmZtzKm93bXseMHF
DhyQiS4nBIYxBVvPPwyaWFuTnw4pyncVFl7Hc2BrVjVja3e2r1I9ktxCNHnrMAMv
6Ggya+9QA1KJGajQqziYDmvBrbsToFdMlMHpw4bA+W3zRoT33tAE4WMCgYEAw2JP
vqWiL6Y5ZGUByMFHueWlL4nEMI17GwrXMcjJ8ryZ+BfsL8pQpDSoADwzON7s8nvo
AMk+24Nb3zVxgWpFqlS7dHYtKdUb1gwRAt1D7JmeuVxAP+Ifjyn45n79gt67Gu5L
dy/+1tH1ooh24Fb27uO5x/haMCrOWPzlT/SwpQ8CgYEApKXQrbj+cQ0a8arQoXVE
+Wwd9aW5la/gl2eAv5UJR1xMz0OQx8mmUed0hB505zcqZakZYmjn49UbmMGjIyv7
TAPynsgTFf7+MoeBkZtfU+2CENd9IFwv2KNuf7i0A/auwJywF23SlqXFpH3MxAxF
oEDB8D41gB2n0jmD0Ehgk3UCgYBl0Q2NY/MosY6m6pwLae1eynVSWJCMXK4SYYvS
vbe/btktmAnUvbFYYLhLpxNqR4Fiu38jKbw/2CxAHTGRJzg2kwE8p3jRm+Rtnswe
mf+ThFpabeBtagDYMh8qvnKNiFQorJVW/wPmHnPKxyJrteXoh3OA6cLV5vixFtjI
2dJTsQKBgQDLRS4lSLZkhsSzgIvj8okX2ar6bw8qpWXW9T1UsldiX3cHZDhijabB
RMbbNGIfn5bA/+SaQRlX1rZTK9nUiu4IxM7pJEj5n0WPXu+HZurFYBF2tNfS2xbB
1X0lPJObBOL8oLg7Vjh/O/OwXd1gGOaVrJ3fhPAQTdZsmQGq+1kUJQ==
-----END RSA PRIVATE KEY-----
~~~


Operator **"public key XPAY"** for the test environment:

~~~
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0IH2V0Ot1ej4FdOihujG
ON37sqql62vFFR/4IK+w4xqHRvD+SEwwkLL9EO72e42bV9VaKOqKbX81A+0hbBXi
W7axjHU2Sc97EXTHjpwX++HduUXbXhRteyzcHDLZCGKT8WzoNgQeXcieLUYUp2bb
gjElGecKprcprkMeHmffmelwlzcv61auGU0o10CTyyCqhOKofdqJq6A2KOBCLL49
5z1700oCRo9qL4loe95r4wGh6AmHZNvAnAwLgzwzyLvWCz479CVIWEaMY/+uczfL
0yRjN+8uqNK3A09wOD+wO1I+YfU9YXcQ75L8ibxzWcNgMHrhJQ9ZtnoVltiTWEEB
9QIDAQAB
-----END PUBLIC KEY-----
~~~
:::


## Testing of Card Debit/Credit

**Test environment** is used for testing debit/credit operations during the development (in this case, no actual debiting or crediting occurs):

```
https://stage-papi.xpaydirect.com/xpay
```

Setting up the test environment for personal and card data processing is identical to the production environment.

**For testing, we recommend:**

1. Use test cards given in documentation.
2. Do not use real personal data.

Test environment personal data is periodically deleted and/or masked. To delete test data sent by Partner, contact Support.

To make card debit/credit operation, enter test card number. Instead of a real 3DS page, a test page with two buttons is used: for successful operation completion and for failure. While the necessary callbacks and redirects to the necessary pages are made.

Card number to get transaction **successful response**: 
```
8888888888888888
```

Card number to get transaction **failed response**:
```
4000000000000010
```


## Implementation Examples

* [Example of Cryptographic Transformation Implementation in "Go" Language](https://hackmd.io/L46is8sVSI2l0ct572B6nw)
* [Example of Partner Integration Implementation](https://hackmd.io/Ipph_UUvRhSV8afGmCmZDQ)
* [Example of Encryption Integration (PKCS only)](https://hackmd.io/zpDZS5G_Q5-4iAulvdbtZQ)


:::warning
To test the Partner's individual settings and implement them into the product environment, use the Partner's personal token and keys, see details in the section ["General API Integration Information"](https://hackmd.io/ijxPm0xtTpycgTjuU_NHQQ).
:::


:::info
*During each integration Operator creates Partner individual support chat.*
:::

![](https://i.imgur.com/17gAyWb.png)
:arrow_left: [Guide](https://hackmd.io/QA2NYRliRLGviJl5P4-ZCw)
:arrow_left: [General API Integration Information](https://hackmd.io/ijxPm0xtTpycgTjuU_NHQQ)

<details>
<summary>XPAY Support</summary>
</br>

Phone: +38 093 891 92 00
Email: info@xpay.com.ua
Telegram: @xpaysupportbot
</details>

