Custom fields
Create or update custom fields
Fields with an id are updated; fields without one are created (or a deleted field with the same label is reactivated).
Authorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/custom-fields" \ -H "Content-Type: application/json" \ -d '{ "paymentModule": "local_transfer", "fields": [ { "fieldLabel": "Supervisor\'s name", "fieldType": "text", "isRequired": false } ] }'[
{
"id": "string",
"paymentModule": "local_transfer",
"fieldName": "string",
"fieldLabel": "string",
"fieldType": "text",
"isRequired": true,
"options": [
"string"
],
"displayOrder": 0,
"isActive": true,
"validationRules": {}
}
]Empty
Empty
Empty
Empty
Empty
Empty
Empty
How is this guide?
Last updated on