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.
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.
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_configuration | object | Payment configurations for this business.
|
|---|