General

CreditClick is a payment method that enables instant and real-time online credit as a payment method for your customers.

To initiate a CreditClick transaction, the servicecode creditclick should be used. This servicecode has 3 optional parameters: "firstname", "lastname" and "email". If this information is provided, it will prefill the data once redirected to CreditClick. Otherwise the consumer has to enter the data there.

The CreditClick service supports the following actions: Pay, Refund. They can be used with the channel "Web".

Pay

The default action for CreditClick is Pay. This action has 3 optional parameters: "firstname", "lastname" and "email". When provided, they will be used by CreditClick to prefill the information. If these parameters are absent, the consumer has to enter them themselves.

View in playground

Request


JSON gateway request

FirstName

Customer firstname

LastName

Customer lastname

Email

Customer email

JSON

copy
{
  "Currency": "EUR",
  "AmountDebit": 10.00,
  "Invoice": "testinvoice 123",
  "ClientIP": {
      "Type": 0,
      "Address": "0.0.0.0"
   },
  "Services": {
    "ServiceList": [
      {
        "Name": "creditclick",
        "Action": "Pay",
        "Parameters": [
          {
            "Name": "firstname",
            "Value": "Test"
          },
          {
            "Name": "lastname",
            "Value": "Tester"
          },
          {
            "Name": "email",
            "Value": "t.tester@test.nl"
          }
        ]
      }
    ]
  }
}

Response


JSON gateway response

JSON

copy
{
  "Key": "61C316033ACB4D91B5B0232CXXXXXXXX",
  "Status": {
    "Code": {
      "Code": 791,
      "Description": "Pending processing"
    },
    "SubCode": {
      "Code": "S002",
      "Description": "An additional action is required: Proceed with the payment"
    },
    "DateTime": "2020-07-02T11:03:38"
  },
  "RequiredAction": {
    "RedirectURL": "https://testcheckout.buckaroo.nl/html/redirect.ashx?r=B85E36C5C74640D48DBC47AAXXXXXXXX",
    "RequestedInformation": null,
    "PayRemainderDetails": null,
    "Name": "Redirect",
    "TypeDeprecated": 0
  },
  "Services": null,
  "CustomParameters": null,
  "AdditionalParameters": null,
  "RequestErrors": null,
  "Invoice": "testinvoice 123",
  "ServiceCode": "CreditClick",
  "IsTest": true,
  "Currency": "EUR",
  "AmountDebit": 10.0,
  "TransactionType": "C059",
  "MutationType": 1,
  "RelatedTransactions": null,
  "ConsumerMessage": null,
  "Order": null,
  "IssuingCountry": null,
  "StartRecurrent": false,
  "Recurring": false,
  "CustomerName": null,
  "PayerHash": null,
  "PaymentKey": "EBB337FA5F5D433A8AD58214XXXXXXXX"
}

Push


JSON push response

JSON

copy
{
   "Transaction":{
      "Key":"61C316033ACB4D91B5B0232CXXXXXXXX",
      "Invoice":"testinvoice 123",
      "ServiceCode":"CreditClick",
      "Status":{
         "Code":{
            "Code":190,
            "Description":"Success"
         },
         "SubCode":{
            "Code":"S990",
            "Description":"The request was successful."
         },
         "DateTime":"2020-07-02T11:04:25"
      },
      "IsTest":true,
      "Order":null,
      "Currency":"EUR",
      "AmountDebit":10.0,
      "TransactionType":"C059",
      "Services":null,
      "CustomParameters":null,
      "AdditionalParameters":null,
      "MutationType":1,
      "RelatedTransactions":null,
      "IsCancelable":false,
      "IssuingCountry":null,
      "StartRecurrent":false,
      "Recurring":false,
      "CustomerName":null,
      "PayerHash":null,
      "PaymentKey":"EBB337FA5F5D433A8AD58214XXXXXXXX"
   }
}

Refund

The Refund action can be used to perform a refund on an earlier CreditClick transaction. For this, a refund reason has to be provided. This can be one of the following reasons: "Duplicate", "Fraudulent", "GoodsNotDelivered", "RequestedByCustomer" or "TechnicalError". Also the basic parameter "Description" is required.

Refunds will initially be queued on CreditClick's side. As a result, the refund will return a pending state. Once the refund is processed by CreditClick, the refund will get a Success or Failed status.

View in playground

Request


JSON gateway request

RefundReason
Required

The reason for the refund. The following options are allowed: "Duplicate", "Fraudulent", "GoodsNotDelivered", "RequestedByCustomer", "TechnicalError"

Description
Required

Please note: This is a basic parameter, not a service specific parameter.

JSON

copy
{
  "Currency": "EUR",
  "AmountCredit": 1.00,
  "Invoice": "testinvoice 123",
  "Description": "Refund",
  "OriginalTransactionKey": "61C316033ACB4D91B5B0232CXXXXXXXX",
  "Services": {
    "ServiceList": [
      {
        "Name": "creditclick",
        "Action": "Refund",
        "Parameters": [
          {
            "Name": "refundreason",
            "Value": "RequestedByCustomer"
          }
        ]
      }
    ]
  }
}

Response


JSON gateway response

JSON

copy
{
  "Key": "A3587E3B768240D8B2B95EA8XXXXXXXX",
  "Status": {
    "Code": {
      "Code": 791,
      "Description": "Pending processing"
    },
    "SubCode": {
      "Code": "C000",
      "Description": "Pending processing"
    },
    "DateTime": "2020-07-02T13:47:50"
  },
  "RequiredAction": null,
  "Services": null,
  "CustomParameters": null,
  "AdditionalParameters": null,
  "RequestErrors": null,
  "Invoice": "testinvoice 123",
  "ServiceCode": "CreditClick",
  "IsTest": true,
  "Currency": "EUR",
  "AmountCredit": 1,
  "TransactionType": "C060",
  "MutationType": 1,
  "RelatedTransactions": [
    {
      "RelationType": "refund",
      "RelatedTransactionKey": "61C316033ACB4D91B5B0232CXXXXXXXX"
    }
  ],
  "ConsumerMessage": null,
  "Order": null,
  "IssuingCountry": null,
  "StartRecurrent": false,
  "Recurring": false,
  "CustomerName": null,
  "PayerHash": null,
  "PaymentKey": "E6DB9ABA8AD74C3ABC5BB743XXXXXXXX"
}

Push


JSON push response

JSON

copy
{
   "Transaction":{
      "Key":"A3587E3B768240D8B2B95EA8XXXXXXXX",
      "Invoice":"testinvoice 123",
      "ServiceCode":"CreditClick",
      "Status":{
         "Code":{
            "Code":791,
            "Description":"Pending processing"
         },
         "SubCode":null,
         "DateTime":"2020-07-02T13:47:50"
      },
      "IsTest":true,
      "Order":null,
      "Currency":"EUR",
      "AmountCredit":1.00,
      "TransactionType":"C060",
      "Services":null,
      "CustomParameters":null,
      "AdditionalParameters":null,
      "MutationType":1,
      "RelatedTransactions":[
         {
            "RelationType":"refund",
            "RelatedTransactionKey":"61C316033ACB4D91B5B0232CXXXXXXXX"
         }
      ],
      "IsCancelable":false,
      "IssuingCountry":null,
      "StartRecurrent":false,
      "Recurring":false,
      "CustomerName":null,
      "PayerHash":null,
      "PaymentKey":null
   }
}