Yuansfer DOCS
  • Introduction
  • GUIDE
    • Online Payment
    • Point of Sale
      • Scan QR Code
      • Create QR Code
    • Plugins
    • Payment Methods
    • Financial Report
    • Security
    • Incident Priorities
    • SDK
    • Tutorials & Examples
      • PHP SDK
      • JAVA SDK
      • C# SDK
      • JS SDK
  • API REFERENCE V3
    • Sandbox Environment
      • Apply Sandbox Credentials
    • Signing API Parameters
    • Customers
      • Register Customer
      • Retrieve Customer
      • Update Customer
    • Payments
      • Online Payment
        • Yuansfer Checkout
        • Yuansfer Integrated Payment
          • Braintree Payments
          • Prepay
        • Recurring Payments
          • Authorize
          • Apply Token
          • Pay
          • Revoke
      • Point of Sale Payment
        • Scan QR Code
          • Add
          • Prepay
        • Create QR Code
    • Transaction Revert
      • Refund
      • Cancel
    • Transaction Data Search
      • Transaction Query
    • Payouts
      • Create Payee
      • Retrieve Payee
      • Balance
      • Send Money
      • Search Payments
    • Notes
  • 中文
Powered by GitBook
On this page

Was this helpful?

  1. API REFERENCE V3
  2. Customers

Retrieve Customer

You can retrieve details of a customer by sending a POST request to Yuansfer Retrieve Customer API.

Retrieve

POST https://mapi.yuansfer.com/v1/customers/retrieve

Request Body

Name
Type
Description

timestamp

string

Current UTC time, correct format should be "yyyy-mm-ddTHH:MM:SSZ"

merchantNo

string

Merchant ID

storeNo

string

Store ID

verifySign

string

The parameter signature

customerCode

string

Either customerCode or customerNo is required to retrieve the detail User-Defined ID when register

customerNo

string

Either customerCode or customerNo is required to retrieve the detail Auto-Generated ID when register

{
    "result":
    {
        "firstName": "Frank",
        "lastName": "Liu",
        "link": "https://mapi.yuansfer.yunkeguan.com/v1/customers/user-account/2010305228244865166344",
        "customerCode": "20210409194802",
        "accountToken": "2010305228244865166344",
        "customerNo": "2000305228244865163960",
        "email": "ldf2104091949@example.com",
        "timestamp": "2021-04-09T20:28:12Z"
    },
    "ret_msg": "success",
    "ret_code": "000100"
}

Response

Parameter

Type

Description

customer

object

The customer object.

ret_msg

string

The response return message.

ret_code

string

Customer Object

Parameter

Type

Description

zip

string

The user's zipcode

firstName

string

The user's first name

lastName

string

The user's last name

customerCode

string

The user-defined user's ID in Yuansfer's system

createdTime

string

The time when user registered account

customerNo

string

The auto-generated user's ID in Yuansfer's system

email

string

The user's email address

country

string

The user's country

updatedTime

string

The most recent datetime when making changes to the user account

city

string

The user's city

dateOfBirth

string

The user's date of birth

phone

string

The user's phone number

countryCode

string

The user's country code

street

string

The user's street address

street2

string

The user's street address

Second line

state

string

The user's state

lang

string

Language customer speak

PreviousRegister CustomerNextUpdate Customer

Last updated 3 years ago

Was this helpful?

The response return code. For more details, see .

here