Configuring Zuora for SmarterPay Integration

This page, gives details on how to configure Zuora for the SmarterPay integration.

If you have issues with this integration please contact support, either by telephone on +44 (0)1482 240886, or by email at support@smarterpay.com



Configuring Zuora Payment Gateway

Configure API User

1. Create a Dedicated API User Role

Zuora recommends using a dedicated user account with “API Write Access” for all API interactions.

2. Create a Dedicated User Account

This user account will be associated with the API Write Access role and will be used by SmarterPay for API calls.

3. Create an OAuth Client and Capture Credentials

Once the dedicated user account is active, you can create the OAuth client.


Setting up Zuora Payment Gateway

Follow these steps to configure the SmarterPay payment gateway in Zuora:


Adding custom Payment Method Type

Create a draft custom payment method type

URL: https://developer.zuora.com/v1-api-reference/api/operation/POST_CreateDraftOpenPaymentMethodType/ - tag/Custom-Payment-Method-Types/operation/POST_CreateDraftOpenPaymentMethodType

POST https://rest.sandbox.eu.zuora.com/open-payment-method-types

JSON payload:

{ 
  "internalName": "SmarterPay", 
  "label": "SmarterPay", 
  "tenantId": "2001429", 
  "entityId": "", 
  "methodReferenceIdField": "SMPCID", 
  "userReferenceIdField": "SMPCID", 
  "subTypeField": "", 
  "fields": [ 
    { 
      "name": "SMPCID", 
      "type": "string", 
      "description": "Smarterpay Cloud ID", 
      "defaultValue": null, 
      "label": "Smarterpay Cloud ID", 
      "index": 1, 
      "minLength": 19, 
      "maxLength": 20, 
      "checksum": false, 
      "required": true, 
      "visible": true, 
      "representer": true, 
      "editable": false 
    } 
  ] 
} 

Response:

{ 
    "status": "Draft", 
    "paymentMethodTypeName": "SmarterPay__c_2001429", 
    "revision": 1, 
    "publishDate": "" 
} 

Publish a custom payment method type

URL: https://developer.zuora.com/v1-api-reference/api/operation/PUT_PublishOpenPaymentMethodType/ - tag/Custom-Payment-Method-Types/operation/PUT_PublishOpenPaymentMethodType

PUT https://rest.sandbox.eu.zuora.com/open-payment-method-types/publish/{paymentMethodTypeName}

(no payload is required)

Response:

{ 
    "internalName": "SmarterPay", 
    "label": "SmarterPay", 
    "revision": 1, 
    "version": "2025-07-07", 
    "status": "Published", 
    "tenantId": "2001429", 
    "entityId": "", 
    "methodReferenceIdField": "SMPCID", 
    "userReferenceIdField": "SMPCID", 
    "subTypeField": "", 
    "fields": [ 
        { 
            "name": "SMPCID", 
            "type": "string", 
            "description": "Smarterpay Cloud ID", 
            "defaultValue": null, 
            "label": "Smarterpay Cloud ID", 
            "index": 1, 
            "maxLength": 20, 
            "minLength": 19, 
            "checksum": false, 
            "required": true, 
            "visible": true, 
            "representer": true, 
            "editable": false, 
            "encrypted": false 
        } 
    ], 
    "isSupportAsyncPayment": null 
} 

Activate custom payment method type

Go to Settings → Payments – Select Payment Method

Select “edit” button in the bottom left-hand corner.

Hit Save and we have a new payment Method Type.

Note we also have new accounting codes to populate. Go to settings → Finance → Configure Accounting Codes