Get User Payment
HTTP Request
POST /v5/p2p/user/payment/list
Request Parameters
None
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| result | array | Object |
| > id | string | id |
| > realName | string | User's real name |
| > paymentType | string | Payment type |
| > bankName | string | Bank name |
| > branchName | string | Branch name |
| > accountNo | string | Account number |
| > qrcode | string | QR code image URL |
| > online | string | Non-balance coin purchase (0 Offline), balance coin purchase (1 Online) |
| > visible | int | Visible |
| > payMessage | string | Pay message |
| > firstName | string | First name |
| > lastName | string | Last name |
| > secondLastName | string | Second last name |
| > clabe | string | clabe |
| > debitCardNumber | string | Debit card number |
| > concept | string | Concept |
| > countNo | string | Count number |
| > paymentExt1 | string | paymentExt1 |
| > paymentExt2 | string | paymentExt2 |
| > paymentExt3 | string | paymentExt3 |
| > paymentExt4 | string | paymentExt4 |
| > paymentExt5 | string | paymentExt5 |
| > paymentExt6 | string | paymentExt6 |
| > paymentTemplateVersion | int | Payment template version |
| > hasPaymentTemplateChanged | boolean | Whether payment template has benn changed |
| > paymentConfigVo | Object | Payment config |
| >> paymentType | string | Payment type |
| >> checkType | int | Check type |
| >> sort | int | Sort |
| >> paymentName | string | Payment name |
| >> addTips | string | Add tips |
| >> itemTips | string | Item tips |
| >> online | int | Non-balance coin purchase (0 Offline), balance coin purchase (1 Online) |
| >> items | array | items |
| > realNameVerified | boolean | whether or not real name is verified |
| > channel | string | Channel |
| > currencyBalance | array | Currency balance |
Request Example
- HTTP
- Python
POST /v5/p2p/user/payment/list HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1675866354698
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json
{}
from bybit_p2p import P2P
api = P2P(
testnet=True,
api_key="xxxxxxxxxxxxxxxxxx",
api_secret="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
)
print(api.get_user_payment_types())
Response Example
{
"ret_code": 0,
"ret_msg": "SUCCESS",
"result": [
{
"id": "-1",
"realName": "",
"paymentType": 377,
"bankName": "",
"branchName": "",
"accountNo": "",
"qrcode": "",
"visible": 0,
"payMessage": "",
"firstName": "",
"lastName": "",
"secondLastName": "",
"clabe": "",
"debitCardNumber": "",
"mobile": "",
"businessName": "",
"concept": "",
"online": "1",
"countNo": "",
"paymentExt1": "",
"paymentExt2": "",
"paymentExt3": "",
"paymentExt4": "",
"paymentExt5": "",
"paymentExt6": "",
"paymentTemplateVersion": 0,
"hasPaymentTemplateChanged": false,
"paymentConfigVo": {
"paymentType": "377",
"checkType": 7,
"sort": 0,
"paymentName": "Balance",
"addTips": "This payment method enables transfers of assets in the Funding Account between Bybit users. Please make sure you have sufficient funds before initiating a purchase.",
"itemTips": "This payment method enables transfers of assets in the Funding Account between Bybit users. Please make sure you have sufficient funds before initiating a purchase.",
"online": 1,
"items": []
},
"realNameVerified": false,
"channel": "bybit",
"currencyBalance": [
"ARS",
"EUR",
"PLN",
"GBP",
"KZT",
"USD",
"BRL",
"VND"
]
},
{
"id": "7110",
"realName": "1111 ",
"paymentType": 14,
"bankName": "",
"branchName": "",
"accountNo": "11111",
"qrcode": "",
"visible": 0,
"payMessage": "",
"firstName": "",
"lastName": "",
"secondLastName": "",
"clabe": "",
"debitCardNumber": "",
"mobile": "",
"businessName": "",
"concept": "",
"online": "0",
"countNo": "",
"paymentExt1": "",
"paymentExt2": "",
"paymentExt3": "",
"paymentExt4": "",
"paymentExt5": "",
"paymentExt6": "",
"paymentTemplateVersion": 0,
"hasPaymentTemplateChanged": false,
"paymentConfigVo": {
"paymentType": "14",
"checkType": 0,
"sort": 0,
"paymentName": "Bank Transfer",
"addTips": "",
"itemTips": "",
"online": 0,
"items": [
{
"view": true,
"name": "realName",
"label": "Name",
"placeholder": "Please Enter Name",
"type": "text",
"maxLength": "50",
"required": true
},
{
"view": true,
"name": "accountNo",
"label": "Bank Account Number",
"placeholder": "Please Enter Account Number",
"type": "text",
"maxLength": "100",
"required": true
},
{
"view": true,
"name": "branchName",
"label": "Bank Branch",
"placeholder": "Please Enter Bank Branch",
"type": "text",
"maxLength": "100",
"required": false
},
{
"view": true,
"name": "bankName",
"label": "Bank Name",
"placeholder": "Please Enter Bank Name",
"type": "text",
"maxLength": "100",
"required": false
}
]
},
"realNameVerified": true,
"channel": "bybit",
"currencyBalance": []
}
],
"ext_code": "",
"ext_info": {},
"time_now": "1741762679.914540"
}