PaymentMethodParameters
PaymentMethodParameters
List parameters for a tenant payment method.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a tenant PaymentMethodUid.
^[A-Za-z0-9-_]+
Reference to a specific page in a result set.
The number of items per page in a result set.
GET /v2/tenants/{tenantUid}/paymentmethods/{tenantPaymentMethodUid}/parameters HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"tenantPaymentMethodParameterUid": "text",
"name": "text",
"description": "text",
"required": true,
"key": "text",
"type": "TEXT",
"regex": "text",
"position": 1,
"createdAt": "2025-06-27T10:12:39.262Z",
"createdBy": "text",
"lastModifiedAt": "2025-06-27T10:12:39.262Z",
"lastModifiedBy": "text"
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}
Create a parameter for a tenant payment method.
position
is used to order the fields when they are listed.
key
is the ID of the parameter within the payment method.
tenantPaymentMethodParameterUid
is the primary key of the table. It is assigned a unique UUID but you can assign it your own ID if needed.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a tenant PaymentMethodUid.
^[A-Za-z0-9-_]+
^[A-Za-z0-9-_]*
regular expression
POST /v2/tenants/{tenantUid}/paymentmethods/{tenantPaymentMethodUid}/parameters HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 151
{
"tenantPaymentMethodParameterUid": "text",
"name": "text",
"description": "text",
"required": true,
"key": "text",
"type": "TEXT",
"regex": "/[a-z]/",
"position": 1
}
{
"tenantPaymentMethodParameterUid": "text",
"name": "text",
"description": "text",
"required": true,
"key": "text",
"type": "TEXT",
"regex": "text",
"position": 1,
"createdAt": "2025-06-27T10:12:39.262Z",
"createdBy": "text",
"lastModifiedAt": "2025-06-27T10:12:39.262Z",
"lastModifiedBy": "text"
}
Get a parameter for a tenant payment method.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a tenant PaymentMethodUid.
^[A-Za-z0-9-_]+
Primary key of the TenantPaymentMethodParameter table
GET /v2/tenants/{tenantUid}/paymentmethods/{tenantPaymentMethodUid}/parameters/{tenantPaymentMethodParameterUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"tenantPaymentMethodParameterUid": "text",
"name": "text",
"description": "text",
"required": true,
"key": "text",
"type": "TEXT",
"regex": "text",
"position": 1,
"createdAt": "2025-06-27T10:12:39.262Z",
"createdBy": "text",
"lastModifiedAt": "2025-06-27T10:12:39.262Z",
"lastModifiedBy": "text"
}
Update a parameter for a tenant payment method.
position
is used to order the fields when they are listed.
key
is the ID of the parameter within the payment method.
tenantPaymentMethodParameterUid
is the primary key of the table. It is assigned a unique UUID but you can assign it your own ID if needed.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a tenant PaymentMethodUid.
^[A-Za-z0-9-_]+
Primary key of the TenantPaymentMethodParameter table
regular expression
PUT /v2/tenants/{tenantUid}/paymentmethods/{tenantPaymentMethodUid}/parameters/{tenantPaymentMethodParameterUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 110
{
"name": "text",
"description": "text",
"required": true,
"key": "text",
"type": "TEXT",
"regex": "/[a-z]/",
"position": 1
}
{
"tenantPaymentMethodParameterUid": "text",
"name": "text",
"description": "text",
"required": true,
"key": "text",
"type": "TEXT",
"regex": "text",
"position": 1,
"createdAt": "2025-06-27T10:12:39.262Z",
"createdBy": "text",
"lastModifiedAt": "2025-06-27T10:12:39.262Z",
"lastModifiedBy": "text"
}
Delete a parameter for a tenant payment method.
Reference to a tenant.
^[A-Za-z0-9-_]+
Reference to a tenant PaymentMethodUid.
^[A-Za-z0-9-_]+
Primary key of the TenantPaymentMethodParameter table
DELETE /v2/tenants/{tenantUid}/paymentmethods/{tenantPaymentMethodUid}/parameters/{tenantPaymentMethodParameterUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
Was this helpful?