Skip to main content
PUT
/
customer
Update a customer
curl --request PUT \
  --url https://virtserver.swaggerhub.com/nickel-ace/apiv1/1.0.0/customer \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Claudio Wilson",
  "email": "claudio@getnickel.com",
  "id": "clkqzo2y1000cx9tfohoiodq1",
  "chargeAuthorizations": [
    {
      "id": "<string>",
      "customerId": "<string>",
      "paymentMethod": {
        "id": "<string>",
        "type": "ACH",
        "achDetails": {
          "bankName": "JP Morgan Chase",
          "routingNumber": "<string>",
          "accountNumberLastFour": "<string>"
        },
        "cardDetails": {
          "brand": "visa",
          "last4": "<string>",
          "holderName": "<string>",
          "expMonth": "2",
          "expYear": "2030"
        },
        "billingDetails": {
          "name": "<string>",
          "companyName": "<string>",
          "street": "<string>",
          "city": "<string>",
          "state": "<string>",
          "zip": "<string>",
          "countryCode": "<string>"
        }
      },
      "transactionLimitCents": 123,
      "expirationDate": "2023-12-25",
      "active": true
    }
  ]
}
'
{
  "name": "Claudio Wilson",
  "email": "claudio@getnickel.com",
  "id": "clkqzo2y1000cx9tfohoiodq1",
  "chargeAuthorizations": [
    {
      "id": "<string>",
      "customerId": "<string>",
      "paymentMethod": {
        "id": "<string>",
        "type": "ACH",
        "achDetails": {
          "bankName": "JP Morgan Chase",
          "routingNumber": "<string>",
          "accountNumberLastFour": "<string>"
        },
        "cardDetails": {
          "brand": "visa",
          "last4": "<string>",
          "holderName": "<string>",
          "expMonth": "2",
          "expYear": "2030"
        },
        "billingDetails": {
          "name": "<string>",
          "companyName": "<string>",
          "street": "<string>",
          "city": "<string>",
          "state": "<string>",
          "zip": "<string>",
          "countryCode": "<string>"
        }
      },
      "transactionLimitCents": 123,
      "expirationDate": "2023-12-25",
      "active": true
    }
  ]
}

Body

application/json

Update an existing customer

name
string
required
Example:

"Claudio Wilson"

email
string<email>
required
Example:

"claudio@getnickel.com"

id
string
Example:

"clkqzo2y1000cx9tfohoiodq1"

chargeAuthorizations
object[]

Response

Successful operation

name
string
required
Example:

"Claudio Wilson"

email
string<email>
required
Example:

"claudio@getnickel.com"

id
string
Example:

"clkqzo2y1000cx9tfohoiodq1"

chargeAuthorizations
object[]