Hosted Payment Page Skinning

If you want to customize the look and feel of the payment page, including font styles and sizes, colors, background, layout, logo positioning and sizes and many others go to User Interface Configuration from GlobalPay Merchant Dashboard.

In order to create or edit new skins or change the merchant logo, the user needs to have assigned a role with at least the following access rights: UIConfiguration-View, UIConfiguration-Update. For more information about users roles go to Security from GlobalPay Merchant Dashboard.

A combination of these parameters can be saved and a new skin will be generated. You can use the new SkinID to display the customized payment page either as a default (the skin will be used as default skin for the payments for which you do not specify a SkinID) or dynamically specifying it in the initial request (the new skin will be used for the current payment).

Below there is an example of a payment request that dynamically instructs GlobalPay to display a certain skin by specifing a value for the SkinID parameter.

Request: 

POST https://paytest.smart2pay.com/v1/payments
Authorization: Basic MzAyMDE6aEo1Um9iWXg5cjdGZk53Q3ZIWTlMWEhxcXIrRkV6cmM3YUp2UVFrNEdhejFtZzdSeXk=

{
  "Payment": {
    "MerchantTransactionID": "s2ptest_45",
    "SkinID": 153,
     "Amount": 100,
     "Currency": "EUR",
     "MethodID": 2,
     "ReturnURL": "http://demo.smart2pay.com/redirect.php"
      }
}

Response: 

HTTP/1.1 201 Created
Content-Type: application/json; charset=utf-8

{
  "Payment": {
    "ID": 2427186,
    "SkinID": 153,
    "Created": "20160314145023",
    "MerchantTransactionID": "s2ptest_45",
    "Amount": 100,
    "Currency": "EUR",
    "CapturedAmount": null,
    "ReturnURL": "http://demo.smart2pay.com/redirect.php",
    "Description": null,
    "MethodID": 2,
    "MethodOptionID": null,
    "IncludeMethodIDs": null,
    "ExcludeMethodIDs": null,
    "PrioritizeMethodIDs": null,
    "SiteID": 30201,
    "NotificationDateTime": null,
    "Customer": null,
    "BillingAddress": null,
    "ShippingAddress": null,
    "Articles": null,
    "Details": null,
    "ReferenceDetails": null,
    "CustomParameters": null,
    "PreapprovalID": null,
    "Status": {
      "ID": 1,
      "Info": "Open",
      "Reasons": null
    },
    "MethodTransactionID": null,
    "TokenLifetime": 1,
    "Capture": null,
    "RedirectURL": "https://apitest.smart2pay.com/Home?PaymentToken=AA7FDAA27A9A77ACC109BBD6B1858098.2427186"
  }
}