PUT /payment-methods/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
createdAt string(date-time)
Created at
-
id integer(int32)
Id
-
Name
-
redirectUrl string | null
Redirect url
-
Show in vendor portal
Default value is
true
. -
Show notes
Default value is
false
. -
Source
Values are
bacs
,check
,custom
,ost
,other
,paypal
,stripe_managed
,stripe
, ortransferwise
. Default value isother
. -
updatedAt string(date-time)
Updated at
PUT
/payment-methods/{id}.json
curl \
-X PUT http://api.example.com/v1/payment-methods/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"createdAt":"2024-05-04T09:42:00+00:00","id":42,"name":"string","redirectUrl":"string","showInVendorPortal":true,"showNotes":false,"source":"other","updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"name": "string",
"redirectUrl": "string",
"showInVendorPortal": true,
"showNotes": false,
"source": "other",
"updatedAt": "2024-05-04T09:42:00+00:00"
}