Pharmacy
Customers
Customers Update Payment Info

Update Customer Payment Info

Update customer document with payment method details

Overview

  • Method: POST
  • Path: /pharmacy/customers/customers/update-payment-info
  • Tags: pharmacy

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "success": true,
  "customerId": "string",
  "message": "string",
  "stripeCustomerId": true,
  "stripePaymentMethodId": true,
  "cardDetails": true
}

400

Bad Request

Content Type: application/json

{}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X POST \
  https://api.pillexa.com/pharmacy/customers/customers/update-payment-info \
  -H "Content-Type: application/json" \