cURL
curl --request PUT \ --url https://api.example.com/v1/payers/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "company": "<string>", "country": "<string>", "metadata": {} } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "[email protected]", "name": "<string>", "company": "<string>", "country": "<string>", "active": true, "metadata": {}, "created_at": "2023-11-07T05:31:56Z", "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "modified_at": "2023-11-07T05:31:56Z", "modified_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Update an existing payer’s information
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Payer UUID
Payer updated successfully