Pike13 For Developers
Get Started
Authentication
Core API
Reporting API
Webhooks API
Announcements

Core API Documentation

Payment Configuration

The payment configuration represents the business's available forms of payment.

Front

GET /api/v2/front/payments/configuration

Returns the available forms of payment for the business.

Show curl example

REQUEST
$ curl https://mybiz.pike13.com/api/v2/front/payments/configuration

RESPONSE
{
  "payment_configuration": {
    "accepted_types": [
      "check",
      "creditcard"
    ],
    "creditcard": {
      "accepted_card_types": [
        "visa",
        "mastercard",
        "discover"
      ],
      "vaulting_method": "three_step",
      "required_fields": {
        "name": false,
        "phone": false,
        "email": false,
        "address": false,
        "city": false,
        "country": false,
        "state": false,
        "postal_code": false,
        "cvv": true
      }
    }
  }
}

Attributes

See the attributes table below in the Desk section

Desk

GET /api/v2/desk/payments/configuration

Returns the available forms of payment for the business.

Show curl example

REQUEST
$ curl https://mybiz.pike13.com/api/v2/desk/payments/configuration

RESPONSE
{
  "payment_configuration": {
    "accepted_types": [
      "check",
      "creditcard"
    ],
    "creditcard": {
      "accepted_card_types": [
        "visa",
        "mastercard",
        "discover"
      ],
      "vaulting_method": "three_step",
      "required_fields": {
        "name": false,
        "phone": false,
        "email": false,
        "address": false,
        "city": false,
        "country": false,
        "state": false,
        "postal_code": false,
        "cvv": true
      }
    }
  }
}

Attributes

These apply to the Front and Desk versions of the API.

payment_configurationobject

Payment configurations for this business.

accepted_typesarray

Array of the types of payment that the business accepts. In the case of external payment methods, their external name will be displayed. Possible values: ["creditcard", "check", "cash", "ach"].

creditcardobject

Additional configuration settings related specifically to credit cards.

accepted_card_typesArray of types of credit cards that this business accepts.
vaulting_methodstring

How you can save (vault) a new card for a client through the API. Check this before building a card collection flow; it depends on the business's payment gateway. See Saving Cards and Bank Accounts.

required_fieldsAll potential field requirements for credit cards, with booleans denoting whether or not they are required by this business.