Credit Card Payment

This API allows to manage credit card payments using a terminal

POST Cashier Login

http://api-cloudpay-dev.fintiv.co:8080/payment/api/v1/services/signon

Creates a cashier session on platform it is need it to process a payment

This session last 1 hour

Headers

api-key {api-key}

Key Provided to use this platform

Content-Type application/json

Body

raw (application/json)

    {
        "contextrequest": {
            "tenantName": "{tenant_name}"
        },
        "login": {
            "credentialType": "USER",
            "value": "pos_cashier_2"
        },
        "Pass": {
            "securityElementType": "password",
            "value": "{cashier_password}"
        }
    }

The data to be submitted to the API is composed of the following fields:

field Note Example Required
contextrequest.tenantName Company code Fintiv true
login.credentialType Credential type must be "USER" USER true
login.value Login user of the cashier cashier true
Pass.securityElementType Credential type must be "password" password true
Pass.value Cashier password 1959caadac9b13dcb3 true
Example Request

    var settings = {
        "url": "http://api-cloudpay-dev.fintiv.co:8080/payment/api/v1/services/signon",
        "method": "POST",
        "timeout": >0,
        "headers": {
        "api-key": "{api-key}",
        "Content-Type": "application/json"
      },
      "data": "{
        "contextrequest": {
            "tenantName": "{tenant_name}"
        },
        "login": {
            "credentialType": "USER",
            "value": "cashier"
        },
        "Pass": {
            "securityElementType": "password",
            "value": "{cashier_password}"
        }",
    };
    $.ajax(settings).done(function (response) {
      console.log(response);
      console.log(response);
    });