Returns the model of the Payment Method e.g. "reseller"
Path parameters
-
ID of the paymentMethod
POST /payment-methods/{paymentMethodId}/model
curl \
-X POST https://api.pace.cloud/pay/2024-3/payment-methods/93db55b6-a9ab-4597-a253-49a1718cea0a/model \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/vnd.api+json"
Request examples
{
"data": {
"type": "paymentMethod",
"id": "d7101f72-a672-453c-9d36-d5809ef0ded6",
"attributes": {
"poiID": "c3f037ea-492e-4033-9b4b-4efc7beca16c"
}
}
}
Response examples (200)
{
"data": {
"type": "paymentMethod",
"id": "c3f037ea-492e-4033-9b4b-4efc7beca16c",
"attributes": {
"paymentMethodModel": "broker"
}
}
}