# CCPay robot access document
#### Pre information
Because we have a test development environment and a release development environment, we require that your application should have a test and release environment. At the same time, when accessing, you should first debug in the test environment, and then switch to the formal environment.
> `CCPay` system is a subsystem of `CCTip`, which is responsible for payment related functions.
#### 1. Provide relevant information
In order to facilitate us to help your robot register with ccpay system, please provide the following information:
1. Your robot is based on the ID of the `Telegram` user system. Generally speaking, it is a plastic string;
1. Provide us with your robot's `username`;
1. Receive token recharge callback `API_URL`. See the third point of this document for the format.
#### 2. Obtain key related information
At the end of the first step, we will provide you with the following information:
1. `business_secret` is used for signature verification. When users recharge tokens to your robot through private chat with cctip, the callback request of cctip will be made;
1. `pay_name` tells the user how to recharge with the `payto` command on cctip's private chat page, such as demobot. When the user recharges in private chat:
`payto demobot 0.002 eth`, it means he wants to recharge 0.002 eth to demobot.
#### 3. Recharge callback
Core interface document and related callback description. Please note that if your robot only accesses cctip from telegram, please ignore the `CCTip·APP` section in the document.What you need to read is:
`4. Apply for transfer`
`9. Deposit/ withdrawal callback`
and the `Signature Method` section.
[Api-Doc](https://hackmd.io/@blockabc/BJoGx_e1D)