Paysafecard

For paysafecard transactions it is mandatory to indicate the identifier of the customer the transaction is for.

The Customer ID identifies the Customer on your side. The most optimal customer ID is a completely random value. A value that uniquely identifies the customer and is disconnected from any personal information.

This customer ID value should be the same for all transactions of the customer (the end consumer that is paying for the service). Also see https://www.paysafecard.com/fileadmin/api/#/reference/importance-of-the-customer-id-parameter

The Customer Id must be passed in the field Reference in the Consumer block inside Fulfillment. You do not need to pass other fields within the Consumer block.

See below for an example request, the relevant block is marked in Bold:

{
  "Contract": {
    "ContractProfileId": "88C0A08C-6969-4736-876D-E4819E658DA1",
    "AmountInCents": 100,
    "CurrencyCode": "EUR",
    "Reference": "sxplzq10k9l"
  },
  "Fulfillment": {
    "PaymentMethod": "PAYSAFECARD",
    "IssuerCode": "PAYSAFECARD",
    "AmountInCents": 100,
    "CurrencyCode": "EUR",
    "Reference": "sxplzq10k9l",
    "Timestamp":"2021-10-26T15:16:39.187Z",
    "LanguageCode": "nl",
    "Description": "Order: sxplzq10k9l",
    "Consumer": {
      "Reference": "sxplzq10k9l"
    }
  },
  "Postback": {
    "UrlCompleted": "https://icepay.free.beeceptor.com/",
    "UrlError": "https://icepay.free.beeceptor.com/",
    "UrlsNotify": [
      "https://icepay.free.beeceptor.com/"
    ]
  },
  "ConsumerFootprint": {
    "IPAddress": "10.244.1.217"
  }
}