This site requires javascript to be enabled.

Results for

xxx

Get privacy policy

GET https://{domainname}/v1/{merchantId}/services/privacypolicy

Services

Under services you find several calls that can be used to support your payment flow:

  • Test your connection to us
  • Convert an amount from one currency to another
  • Convert between different bank account notations
  • Retrieve the card type and country where the card was issued based on the IIN of the card
  • Retrieve the ARN (Acquirer Reference Number), RRN (Retrieval Reference Number), Amount and Currency for a payment

Request

This call lets you request the privacy policy for a specific or all payment products in your account.

Query parameters

Query parameters for this method

Property Type Required Repeat Details
locale string no no read close
close

Description

Locale in which the privacy policy should be returned. Uses your default locale when none is provided.
paymentProductId integer no no read close
close

Description

ID of the payment product for which you wish to retrieve the privacy policy. When no ID is provided you will receive all privacy policies for your payment products.

Request example

SDK: JSON

This scenario you will probably use the most

  • locale=en_US&paymentProductId=771
    

Responses

The response contains the HTML for the privacy policy, and a boolean indicating whether it should be displayed to the user.

Response 200 - OKGetPrivacyPolicyResponse

Your request was exectued successfully and the response contains any applicable privacy policy texts

Properties
Property Type Required Details
close

Description

HTML content to be displayed to the user

Response example

SDK: JSON

This scenario you will probably use the most

  • {
        "htmlContent" : "<h1>Privacy Notice</h1>\n..."
    }
    

Response 400 - Bad requestErrorResponse

Properties
Property Type Required Details
close

Description

Unique reference, for debugging purposes, of this error response
close

Description

List of one or more errors
close

Description

Contains detailed information on one single error.
  • SDK Object type
    APIError
close

Description

Category the error belongs to. The category should give an indication of the type of error you are dealing with. Possible values:
  • CONNECT_PLATFORM_ERROR - indicating that a functional error has occurred in the Connect platform.
  • PAYMENT_PLATFORM_ERROR - indicating that a functional error has occurred in the Payment platform.
  • IO_ERROR - indicating that a technical error has occurred within the Connect platform or between Connect and any of the payment platforms or third party systems.
close

Description

Error code
close

Description

HTTP status code for this error that can be used to determine the type of error
close

Description

ID of the error. This is a short human-readable message that briefly describes the error.
close

Description

Human-readable error message that is not meant to be relayed to customer as it might tip off people who are trying to commit fraud
close

Description

Returned only if the error relates to a value that was missing or incorrect.
Contains a location path to the value as a JSonata query.
Some common examples:
  • a.b selects the value of property b of root property a,
  • a[1] selects the first element of the array in root property a,
  • a[b='some value'] selects all elements of the array in root property a that have a property b with value 'some value'.
close

Description

ID of the request that can be used for debugging purposes

Response example

SDK: JSON

This scenario you will probably use the most

  • {
        "errorId" : "5c6d4ec2ca444060d13f3ff2d0647fb1",
        "errors" : [
            {
                "code" : "1024",
                "id" : "SERVICE_NOT_ALLOWED",
                "category" : "CONNECT_PLATFORM_ERROR",
                "message" : "The requested service is not available.",
                "httpStatusCode" : 400
            }
        ]
    }