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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;category&quot;:&quot;rapyd_ewallet&quot;,&quot;metadata&quot;:{},&quot;image&quot;:&quot;\u003cstring\u003e&quot;,&quot;webhook_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;supporting_documentation&quot;:&quot;\u003cstring\u003e&quot;,&quot;next_action&quot;:&quot;not_applicable&quot;,&quot;bic_swift&quot;:&quot;\u003cstring\u003e&quot;,&quot;account_last4&quot;:&quot;\u003cstring\u003e&quot;},&quot;status&quot;:{&quot;error_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;operation_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;response_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;}}