VIETQR DOC
  • PHẦN MỀM APP VIETQR
    • VIETQR - Mô tả chung
      • 2️Tính năng và Ứng dụng
      • 🖥️Chức năng gói DV
        • Tài liệu VietQR - Giới thiệu sản phẩm và hướng dẫn sử dụng
        • 🔊Chrome Plugin Voice Noti
    • 👨‍👨‍👧‍👦Chia sẻ BDSD mạng xã hội
      • 🔘Chia sẻ qua Lark
      • 🔘Discord Chia sẻ BDSD
      • 🔘Slack Chia sẻ BDSD
      • 🔘Google chát & BĐSD
      • 🔘Google Sheets Oauth
      • 🔘Chia sẻ qua Telegram
    • BĐSD bằng âm thanh
  • QUY ĐỊNH CHUNG VIETQR
    • 💵Bảng giá và Phí
    • 💰Phí và thu phí
    • 🗣️Câu hỏi và trả lời
      • 1️⃣Quy định đổi thay thế tài khoản
    • ⚖️Chính sách đại lý
    • Hướng dẫn Thanh toán
    • 📝Hóa đơn và Thanh toán
    • Mở tài khoản Ngân hàng
  • THIẾT BỊ QR, PAY-BOX
    • 💺Ghế Masage QRPAY
    • 🏪Cửa ra vào QRPAY
    • 🚘Ứng dụng vào nền tảng bán vé
    • ⛽Trạm sạc điện
      • 🔘Sạc điện Ôtô, xe máy
      • 🔘Sạc Điện thoại
    • 📸Máy chụp ảnh Hàn quốc
    • 🔊QR Voice box
      • 🔘Hướng dẫn cài đặt Voice box
      • 🔘Tự mua và sản xuất QR Voice box
    • 👣D/sách máy bán hàng SAB tại HN
    • 📚Tài liêu khác
    • PayDock OutPut
  • Kêt nối đối tác Nền tảng
    • 💻Plugin Kết nối WordPress
    • 👥Plugin Bitrix24
      • Hướng dẫn cài đặt và sử dụng
        • Cài đặt App và desktop quản trị
  • API VIETQR - CALLBACK
    • Hỏi đáp API
    • 🌀API VIETQR - Host2Host
      • 🔘English version
      • Tạo môi trường test Callback
      • INTEGRATED DOCUMENT FOR PAYMENT SERVICE VIETQR
    • 💫API VIETQR - Host2Client
    • 💸API Refund Transaction
    • 📀Tài liệu kết nối VietQR
Powered by GitBook
On this page
  • HƯớng dẫn
  • Install the library
  • Make your first request
  • Create pet.
  1. Kêt nối đối tác Nền tảng

Plugin Kết nối WordPress

PHẦN MỀM WORDPRESS

PreviousPayDock OutPutNextPlugin Bitrix24

Last updated 8 months ago

Good to know: Cấp miễn phí module phân mềm

HƯớng dẫn

K

Install the library

The best way to interact with our API is to use one of our official libraries:

# Install via NPM
npm install --save my-api
# Install via pip
pip install --upgrade myapi

Good to know: Using tabs to separate out different languages is a great way to present technical examples or code documentation without cramming your docs with extra sections or pages per language.

Make your first request

To make your first request, send an authenticated request to the pets endpoint. This will create a pet, which is nice.

Create pet.

POST https://api.myapi.com/v1/pet

Creates a new pet.

Request Body

Name
Type
Description

name*

string

The name of the pet

owner_id

string

The id of the user who owns the pet

species

string

The species of the pet

breed

string

The breed of the pet

{
    "name"="Wilson",
    "owner": {
        "id": "sha7891bikojbkreuy",
        "name": "Samuel Passet",
    "species": "Dog",}
    "breed": "Golden Retriever",
}

Good to know: You can use the API Method block to fully document an API method. You can also sync your API blocks with an OpenAPI file or URL to auto-populate them.

Take a look at how you might call this method using our official libraries, or via curl:

curl https://api.myapi.com/v1/pet  
    -u YOUR_API_KEY:  
    -d name='Wilson'  
    -d species='dog'  
    -d owner_id='sha7891bikojbkreuy'  
// require the myapi module and set it up with your API key
const myapi = require('myapi')(YOUR_API_KEY);

const newPet = away myapi.pet.create({
    name: 'Wilson',
    owner_id: 'sha7891bikojbkreuy',
    species: 'Dog',
    breed: 'Golden Retriever',
})
// Set your API key before making the request
myapi.api_key = YOUR_API_KEY

myapi.Pet.create(
    name='Wilson',
    owner_id='sha7891bikojbkreuy',
    species='Dog',
    breed='Golden Retriever',
)
💻