POST
/payment-methods.json
curl \
--request POST 'http://api.example.com/v1/payment-methods.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"string","redirectUrl":"string","showInVendorPortal":true,"showNotes":false,"source":"other"}'
Request examples
{
"name": "string",
"redirectUrl": "string",
"showInVendorPortal": true,
"showNotes": false,
"source": "other"
}
Response examples (200)
{
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"name": "string",
"redirectUrl": "string",
"showInVendorPortal": true,
"showNotes": false,
"source": "other",
"updatedAt": "2025-05-04T09:42:00Z"
}