Replaced Payment Method β API Reference
Looking up the direct-API request/response shape for a vendor-driven payment-method replacement. For what triggers it and how to react via webhooks, see Replaced Payment Method.
API Requestβ
This flow has no merchant-initiated request β it is driven entirely by an upstream vendor notification that a payment method was reissued. There is nothing to send; use the GET request below to verify state after the fact.
API Responseβ
Verify the current wallet state at any time with GET /v2/payment-methods/{id} (merchant-wallet-management scope) β the replaced payment method ID (card A) will no longer resolve, and the new payment method (card B) will appear in the customer's payment-method list. If you only have the old ID (card A) and need to find the new one, see Error Handling below.
Error Handlingβ
If a webhook delivery is missed, the old payment-method ID (card A) no longer resolves, so looking it up directly won't recover the new ID. Instead, reconcile by searching the customer's current wallet state:
POST /v2/payment-methods/search
X-Merchant-Id: {merchantId}
{
"customer": { "hsid": "{hsid}" }
}
This returns all active payment methods currently in the customer's wallet (merchant-wallet-management scope) β including the replacement card (card B) β without needing the old ID. If the customer's identity can't be resolved this way either, contact your CCG representative for support-assisted recovery.
Related Documentationβ
- Replaced Payment Method (How-to) β trigger conditions and webhook handling
- Payment Error Codes