PGecom
  • 🚀Introduction
  • đŸŽ¯Guides
    • Getting authenticated
  • 📚Concepts
    • Sandbox Environment
  • 🧑‍đŸ’ģAPI Endpoint
    • Ecommerce
      • đŸ›ī¸Shop
        • GetShopById
        • CreateShop
      • 👔Product
        • ProductSchema
        • GetProductById
        • GetProductBySlug
        • CreateNewProduct
      • 🛒Checkout
        • CreateCheckoutSession
      • Form
        • GetFormById
      • Invoice
        • GetInvoiceById
    • Wordpress Plugin
    • Chrome Extension
    • GiftCards
      • â„šī¸Gift Card Schema
      • ✅List giftcards
      • â˜‘ī¸Order a gift card
      • â˜‘ī¸Get giftcard
      • â˜‘ī¸Rates
    • Send rewards
      • â„šī¸Rewards Schema
      • â˜‘ī¸Send rewards
    • Withdraw
      • â„šī¸Withdraw Schema
      • â˜‘ī¸Process Withdraw
      • â˜‘ī¸Rates
    • Radar
      • â„šī¸Radar Schema
      • â˜‘ī¸Check for Fraudster
    • Top Up
      • â„šī¸Topup Schema
      • â˜‘ī¸Estimate
      • â˜‘ī¸Send
    • Payment
      • Mon Cash
        • CreateMonCashPayment
        • VerifyMonCashPayment
        • WithdrawToMonCashEstimate
        • WithdrawFundsToMonCash
      • PG Pay
        • ConfigurePGPay
        • CreatePGPayPayment
        • VerifyPGPaymentWithToken
        • VerifyPGPaymentWithOrderId
    • Deprecated
      • Card Holder
        • â„šī¸Card Holder Schema
        • â˜‘ī¸Update
      • Card
        • â„šī¸Card Schema
        • ✅Retrieve a single card
        • ✅List cards
        • â˜‘ī¸Create a card
        • â˜‘ī¸Create Customer
  • 🎓Resources
    • Support
    • Production Access
Powered by GitBook
On this page

Was this helpful?

  1. API Endpoint
  2. Deprecated
  3. Card

Create Customer

Create a Customer

POST https://sandbox.pgecom.com/api/v1/buisness/customer

Headers

Name
Type
Description

authorization*

String

Bearer token

Request Body

Name
Type
Description

lastName*

String

less than 30 characters

phone*

String

id

String

line1

String

line2

String

city*

String

country

String

state

String

postal_code

String

notes

Boolean

userID

String

email*

String

firstName*

String

createdAt

String

updatedAt

String


{
    "email": "james@gmail.com",
    "firstName": "James",
    "lastName": "Peter",
    "phone": "+1 404 825 3444",
    "line1": "9700 Medlock Bridge Road",
    "line2": "",
    "city": "Kennewick",
    "country": "United States",
    "state": "WA",
    "postal_code": "993398",
    "notes": "This is simple demo",
    "userID": "6bc4f4cf-d562-4306-9192-a2eaf4fa9789",
    "createdAt": "",
    "updatedAt": "",
    "id": "4a3ce0b8-efdc-4640-ac23-099134d1a881"
}
{
    "message": "Token not valid"
}
PreviousCreate a cardNextSupport

Last updated 1 year ago

Was this helpful?

🧑‍đŸ’ģ
â˜‘ī¸