Update a PaymentMethod

POST {{url}}/api/v1/pa/payment_methods/:payment_method_id/update

Request Body

{"request_id"=>"{{$guid}}", "type"=>"card", "card"=>{"billing"=>{"address"=>{"city"=>"{{$randomCity}}", "country_code"=>"US", "state"=>"{{$randomCity}}", "street"=>"{{$randomStreetAddress}}"}, "first_name"=>"{{$randomFirstName}}", "last_name"=>"{{$randomLastName}}"}, "expiry_month"=>"12", "expiry_year"=>"2030", "number"=>"4111111111111111"}}

HEADERS

KeyDatatypeRequiredDescription
x-on-behalf-ofstring