UseePay Open API
UseePay Portal
Product Docs
  • V2.0
  • V1.0
Mechant Dashboard
UseePay Portal
Product Docs
  • V2.0
  • V1.0
Mechant Dashboard
  1. Customers
  • Intergration
    • About Payment Methods
      • Card
      • Apple Pay
      • Google Pay
      • Klarna
      • Naver pay
      • Kakao Pay
      • Toss Pay
      • Payco
      • Affirm
    • subscription
      • Get started with Subscription
    • online payment
      • Get started with online payments
    • Payment Capabilities
      • Adaptive Price
  • developer
    • Introduction
    • Authentication
    • Errors
    • error code
      • last_payment_error documentation
    • Best Integration
      • Quickly create a paymentIntent for a subscription
      • Auto-Charge Subscription Guide
    • Payment Intents
      • Payment Intent Overview
      • Quickly create a paymentIntent
      • Create a PaymentIntent
      • Retrieve a PaymentIntent
      • Update a PaymentIntent
      • Confirm a PaymentIntent
      • Cancel a PaymentIntent
      • Capture a PaymentIntent
      • List all payment intents
    • Customers
      • Create a customer
        POST
      • Retrieves a customer
        GET
      • Update a customer
        POST
      • List all customers
        GET
    • Subscriptions
      • Create a subscription
      • Retrieves a subscription
      • Update a subscription
      • List all subscriptions
      • Cancel a subscription
    • Invoices
      • Create a invoice
      • Retrieves a invoice
      • List all invoices
      • Pay a invoice
    • Payment Methods
      • Create a payment method
      • Retrieves a payment method
      • Update a payment method
      • List all payment methods
    • Mandates
      • Create a mandate
      • Retrieves a mandate
      • List all mandates
    • Refunds
      • Create a refund
      • Retrieves a refund
      • List all refunds
    • Webhooks
      • Webhook events
      • Webhook Activation/Signature Verification Steps
      • Create a webhook
      • Retrieves a webhook
      • Update a webhook
      • List all webhooks
    • Embedded Checkout
      • Payment Elements
    • case
    • objects
    • About Testing
      • Test Cards
      • ApplePay&GooglePay
  • message
    • Messaging Element
  • FAQ
    • Unable to receive Webhook notifications
  1. Customers

Retrieves a customer

Useepay API V2.0 Sandbox Environment
https://openapi1.uat.useepay.com
Useepay API V2.0 Sandbox Environment
https://openapi1.uat.useepay.com
GET
/api/v1/customers/{{customer-id}}

Request

Header Params

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
🔴500Internal Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://openapi1.uat.useepay.com/api/v1/customers/cus_1JA7UDDQG3800' \
--header 'x-merchant-no: 500000000007245' \
--header 'x-api-key: FUYTIUvjhgfytfuytwiue' \
--header 'x-app-id: www.pay.com'
Response Response Example
200 - Success
{
    "id": "cus_1J6N9TPUSIG00",
    "address": {
        "country": "CN",
        "city": "shanghai",
        "postcode": "200100",
        "state": "shanghai",
        "line1": "pudong zhangjiang",
        "line2": "room 1002"
    },
    "description": "test customer",
    "name": "eric.wang",
    "email": "eric.wang@useepay.com",
    "phone": "13527156763",
    "metadata": {
        "testkey": "12233"
    },
    "shipping": {
        "address": {
            "country": "CN",
            "city": "shanghai",
            "postcode": "200100",
            "state": "shanghai",
            "line1": "minghang pushenglu",
            "line2": "room 2002"
        },
        "name": "zhangsan",
        "phone": "13527189021",
        "first_name": null,
        "last_name": null,
        "shipping_method": null
    },
    "merchant_no": "500000000007264",
    "app_id": "www.pay.com",
    "create_at": "2024-10-12T10:09:53Z",
    "modify_at": "2024-10-12T10:09:53Z",
    "first_name": null,
    "last_name": null,
    "merchant_customer_id": "1000000021134"
}
Modified at 2024-10-25 07:50:06
Previous
Create a customer
Next
Update a customer
Built with