Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

PaymentMethodMappings

PaymentMethodMappings

List all mappings for a tenant payment method

get

List all mappings for a tenant payment method

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
tenantPaymentMethodUidstringRequired

Reference to a tenant PaymentMethodUid.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
systemCodestring · enumOptional

Reference to a system code

Possible values:
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Responses
200
Example response
application/json
get
GET /v2/tenants/{tenantUid}/paymentmethods/{tenantPaymentMethodUid}/mappings HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "items": [
    {
      "systemCode": "OMNIUM",
      "externalId": "text",
      "tenantPaymentMethodMappingUid": "text"
    }
  ],
  "paging": {
    "pageNumber": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}

Add a mapping to a tenant payment method

post

Add a mapping to a tenant payment method

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
tenantPaymentMethodUidstringRequired

Reference to a tenant PaymentMethodUid.

Pattern: ^[A-Za-z0-9-_]+
Body
all ofOptional
and
Responses
201
Example response
application/json
Responseall of
and
post
POST /v2/tenants/{tenantUid}/paymentmethods/{tenantPaymentMethodUid}/mappings HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 82

{
  "tenantPaymentMethodMappingUid": "text",
  "externalId": "text",
  "systemCode": "OMNIUM"
}
201

Example response

{
  "systemCode": "OMNIUM",
  "externalId": "text",
  "tenantPaymentMethodMappingUid": "text"
}

Update a mapping to a tenant payment method

put

Update a mapping to a tenant payment method

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
tenantPaymentMethodUidstringRequired

Reference to a tenant PaymentMethodUid.

Pattern: ^[A-Za-z0-9-_]+
tenantPaymentMethodMappingUidstringRequired

Reference to a tenantPaymentMethodMappingUid.

Pattern: ^[A-Za-z0-9-_]+
Body
externalIdstringRequired
Responses
201
Example response
application/json
Responseall of
and
put
PUT /v2/tenants/{tenantUid}/paymentmethods/{tenantPaymentMethodUid}/mappings/{tenantPaymentMethodMappingUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "externalId": "text"
}
201

Example response

{
  "systemCode": "OMNIUM",
  "externalId": "text",
  "tenantPaymentMethodMappingUid": "text"
}

Delete a tenantPaymentMethod mapping

delete

Delete a tenantPaymentMethod mapping

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
tenantPaymentMethodUidstringRequired

Reference to a tenant PaymentMethodUid.

Pattern: ^[A-Za-z0-9-_]+
tenantPaymentMethodMappingUidstringRequired

Reference to a tenantPaymentMethodMappingUid.

Pattern: ^[A-Za-z0-9-_]+
Responses
204
No Content
delete
DELETE /v2/tenants/{tenantUid}/paymentmethods/{tenantPaymentMethodUid}/mappings/{tenantPaymentMethodMappingUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204

No Content

No content

Was this helpful?