# Update payer default card

This endpoint enables you to update the payer's details by payer ID.

PUT: https://api.ompay.com/v1/merchants/YOUR_MERCHANT_ID/payer/PAYER_ID
Request example
  • Shell
  • JavaScript

curl -X PUT \
 https://api.ompay.com/v1/merchants/w3z8dfhkzvfq0j9n/payer/0f053a05-9fa2-49a1-871f-3098e4b114e2 \
  -H 'authorization: Basic ODZidWQ0Y2JremlxOXZmYzoweHI1ZDkwOHo2bmo4a2h6' \
  -H 'content-type: application/json' 
  -d '{
	"email": "tom@lamma.om",
	"name":"Tom Hanks",	
	"default_card": "9c22d208-4e25-47f8-8d32-c0e6d97c17c2"
}

Response example
  "DONE"

# Request

# Header parameters

The request require a Basic authentication in the header. For more information about HTTP request headers, see HTTP request headers.

Download Spec

No operations defined in spec!