Update Customer

Put https://app.moneygraph.ai/api/v1/invoice/recipient/update/{recipient_id}

Headers

Authorization* string

Pass your {api_key} as a bearer token in the request header to authorize this call

Path parameters

recipient_id* string

ID of entity/recipient to update

Body parameters

entity_typestring

The entity's type. Must be one of individual or company.

country string

Country must be in ISO2 format e.g US, NG

first_namestring

The entity's first name.

last_namestring

The entity's last name.

emailstring

The entity's email address.

phonestring

Phone number of the entity

statestring

State iso2

citystring

City

addressstring

The entity's address

postal_codestring

The entity's Postal/Zip Code

company_namestring

The invoice recipient's company name. This is required if entity type is company

Response


{
    "message": "Invoice recipient data updated successfully",
    "status": "success",
    "data": {
        "id": "705c5559-562f-4b8c-b24e-8705912c54fc",
        "first_name": "Jon",
        "last_name": "Doe",
        "email": "[email protected]",
        "phone": "+2349051194087",
        "created_at": "2025-10-02T09:04:36.000000Z",
        "last_updated_at": "2025-10-02T11:07:44.000000Z",
        "entity_type": "company",
        "company_name": "ABC Test Company",
        "mode": "test"
    }
}