# Delete a card associated to a payer

Dissociate a specific card to a payer This endpoint enables you to dissociate a specific card to a payer using the payer ID and credit card ID.

DELETE: https://api.openacquiring.com/v1/merchants/YOUR_MERCHANT_ID/payer/PAYER_ID/card/CARD_ID
Request example
  • Shell
  • JavaScript

curl -X DELETE \
 https://api.openacquiring.com/v1/merchants/w3z8dfhkzvfq0j9n/payer/0f053a05-9fa2-49a1-871f-3098e4b114e2/card/9c22d208-4e25-47f8-8d32-c0e6d97c17c2 \
  -H 'authorization: Basic ODZidWQ0Y2JremlxOXZmYzoweHI1ZDkwOHo2bmo4a2h6' \
  -H 'content-type: application/json' 
}

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.

# Request parameters

Parameter Type Description
merchant_id required string Encrypted Merchant account identifier for the Merchant
payer_id required string unique identifier of a payer on our system
credit_card_id required string unique identifier of a credit card on our system

# Response

  "DONE"

# Response Body

# Status 200 Success

Message string indicating that the process has been successfully done

# Error Response Body

# Status 400 Bad Request

Parameter Type Description
code string Code indentifying the error on our system
name string Name indentifying the error on our system
message string Message related to the error
eventId string Unique Identifier for the request
Last Updated: 8/29/2023, 12:45:13 PM