Update payment method for customer
POST {{baseUrl}}/v1/customers/:customerId/payment_methods/:pmtId
Change or modify a payment method that was stored in a customer profile
Request Body
{"id"=>"<string>", "type"=>"<string>", "category"=>"bank_redirect", "image"=>"<string>", "webhook_url"=>"<string>", "supporting_documentation"=>"<string>", "next_action"=>"pending_confirmation", "bic_swift"=>"<string>", "account_last4"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"data":{"id":"\u003cstring\u003e","type":"\u003cstring\u003e","category":"rapyd_ewallet","metadata":{},"image":"\u003cstring\u003e","webhook_url":"\u003cstring\u003e","supporting_documentation":"\u003cstring\u003e","next_action":"not_applicable","bic_swift":"\u003cstring\u003e","account_last4":"\u003cstring\u003e"},"status":{"error_code":"\u003cstring\u003e","message":"\u003cstring\u003e","operation_id":"\u003cstring\u003e","response_code":"\u003cstring\u003e","status":"\u003cstring\u003e"}}