PUT
/
profiles
/
addresses
/
{address_id}
curl --request PUT \
  --url https://api.live.paisr.tech/{version}/profiles/addresses/{address_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "address_line_1": "Example Street 10",
  "address_line_2": "Example Street 12",
  "address_line_3": "Example Street 14",
  "city": "Paramaribo",
  "state": "<string>",
  "apartment": "<string>"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

address_id
string
required

The Address ID.

Body

application/json
The details required to update the profile address.
address_line_1
string

Registered address as it appears on documents or utility bills.

Example:

"Example Street 10"

address_line_2
string

Registered address as it appears on documents or utility bills.

Example:

"Example Street 12"

address_line_3
string

Registered address as it appears on documents or utility bills.

Example:

"Example Street 14"

city
string

Registered city as it appears on documents or utility bills.

Example:

"Paramaribo"

state
string

Registered state as it appears on documents or utility bills.

apartment
string

Registered apartment no as it appears on documents or utility bills.

Response

200
application/json
Successfully updated profile address.
success
boolean

Indicates if the request was successful.

message
string

A descriptive message regarding the result.