YoboPay
  1. Customers
YoboPay
  • 接入说明
  • Introduction
  • Webhook接入
  • Webhook Introduction
  • Test Card
  • Embedded Checkout
  • Checkout
    • Create Session
      POST
    • Expire Session
      POST
    • Retrieve Session
      GET
  • PaymentIntents
    • Retrieve PaymentIntent
      GET
    • List all paymentIntent
      GET
  • Charges
    • List all charges
      GET
  • Customers
    • Create Customer
      POST
    • Update Customer
      POST
    • Retrieve Customer
      GET
  • Events
    • The Event object
    • Types of Events
    • Data Object
      • PaymentIntent
      • Charge
  • Refunds
    • Create Refund
      POST
    • List all refunds
      GET
  1. Customers

Retrieve Customer

GET
/v1/customers/{id}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/customers/'

Responses

🟢200成功
application/json
Body
code
string 
required
msg
string 
optional
data
object (Customer) 
required
customerId
string 
required
email
string 
邮箱
optional
name
string 
姓名
optional
phone
string 
电话号码
required
description
string 
描述
optional
created
integer 
创建时间
optional
Example
{
    "code": "success",
    "msg": "",
    "data": {
        "customerId": "cus_test_uyFdKYjPnXJa",
        "email": "[email protected]",
        "name": "robin",
        "description": "",
        "created": 1741684152834
    }
}
Modified at 2025-03-21 06:13:51
Previous
Update Customer
Next
The Event object
Built with