Retrieve Customer

Get a customer Detail information

Method and URL

GET [BASE_URL]/v1/customers/{customerId}

customerId from the response body whenever you create Payment Session

Response

Response Body

{
  "code": "00",
  "message": "Success",
  "data": {
    "givenName": "Reforza Jordan",
    "sureName": "Geotama",
    "email": "reforza@pivot-payment.com",
    "phoneNumber": {
      "countryCode": "+62",
      "number": "089699990003"
    },
    "refundPreference": {
      "method": "AUTO",
      "transferDestination": {
        "channelCode": "014",
        "channelInformation": {
          "accountNumber": "17677665415",
          "accountName": "Reforza Jordan Geotama"
        }
      }
    },
    "storedPaymentMethods": [
      {
        "token": "020027de-134e-45ed-8f0d-7ae0506a7133",
        "paymentMethod": "CARD",
        "paymentChannel": "VISA",
        "status": "ACTIVE",
        "createdAt": "2025-09-02T06:02:59.141590124Z",
        "card": {
          "fingerprint": "0198edcf-87a0-73fd-b937-7ec4b0ddb9c6",
          "network": "VISA",
          "first6": "444000",
          "first8": "44400001",
          "last4": "0002",
          "expMonth": "01",
          "expYear": "39",
          "cardHolderFirstName": "Reforza Jordan",
          "cardHolderLastName": "Geotama"
        }
      }
    ]
  }
}

Detail Parameter Response

Parameter
Data Type
Requirement
Description

Customer

Object

M

Last updated