Skip to main content
POST
/
customers
/
{customerAccountNumber}
/
updateDetail
Update customer details
curl --request POST \
  --url https://apigwuat.corpay.com/customers/{customerAccountNumber}/updateDetail \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customerName": "<string>",
  "customerBusinessReference": "<string>",
  "customerContact": {
    "emailAddress": "jsmith@example.com",
    "firstName": "<string>",
    "lastName": "<string>",
    "middleName": "<string>",
    "mobilePhone": "<string>",
    "telephone": "<string>"
  },
  "customerAddress": {
    "addressLines": "<string>",
    "city": "<string>",
    "country": "<string>",
    "countryCode": "<string>",
    "region": "<string>",
    "zipCode": "<string>"
  }
}
'
{
  "$ref": "#/components/schemas/Status/example"
}

Documentation Index

Fetch the complete documentation index at: https://api.corpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Performance expectations:
p50: 1100 ms, p99: 1900 ms.
Measured on successful requests (2xx), server-side only.
How to interpret these metrics

Authorizations

Authorization
string
header
required

Use OAuth2 client credentials to obtain a bearer token.

UAT token endpoint: POST https://apigwuat.corpay.com/keycloak/realms/longship/protocol/openid-connect/token

Example:

curl --location 'https://apigwuat.corpay.com/keycloak/realms/longship/protocol/openid-connect/token' \
--header 'accept: application/json' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=.......' \
--data-urlencode 'client_secret=......'

Path Parameters

customerAccountNumber
string
required

Body

application/json
customerName
string
Maximum string length: 310
customerBusinessReference
string
Maximum string length: 40
customerContact
object
customerAddress
object

If customer address is provided then all the fields inside the address object needs to be provided.

Response

Operation status

The response is of type object.