VIP payment

Manage (add/update/remove) specific payment types and tokens on the VIP list. Below is the list of Support Payment Type (PTYP) values for this endpoint.
Key Name values are case sensitive, they must be lower case. Payment Type Codes are case sensitive and must be upper case. Payment Token values are case sensitive and must be in upper case (lower case does not cause a failure message, but does not update value to VIP List).

Description Code
Apple Pay APAY
BPAY BPAY
Carte Bleue CARTE_BLEUE
Check CHEK
ELV ELV
GiroPay GIROPAY
Interac INTERAC
Mercado Pago MERCADO_PAGO
Neteller NETELLER
POLi POLI
Paypal PYPL
Single Euro Payments Area SEPA
Skrill/Moneybookers SKRILL
Sofort SOFORT
Token TOKEN

NOTE: PTYP values of GreenDot, Bill Me Later & GOOG are not supported in VIP

Endpoints

/rpc/v1/vip/payment.html
The browsable documentation for this API endpoint.
/rpc/v1/vip/payment.json
Endpoint that will return a JSON response.
/rpc/v1/vip/payment.xml
Endpoint that will return an XML response.

Usage

Usage for HTTP POST

Key Name: (r|d|x)_payment[][],
r=review, d=decline, x=delete
First brackets contain a payment type. The value is the payment token.
Must provide at least one payment with a valid label and value.
Examples:
r_payment[PAYMENT_TYPE][]=PAYMENT_TOKEN
d_payment[PAYMENT_TYPE][]=PAYMENT_TOKEN
x_payment[PAYMENT_TYPE][]=PAYMENT_TOKEN

Error Codes

206 Partial Success
In batch requests, this signifies that there were a mix of successes and failures.
400 Validation
Incorrect/Invalid input data.
401 Authentication
The key provided could not be authenticated

Response Samples

Successful Response [XML]
<?xml version="1.0" encoding="UTF-8"?>
<response>
 <status>ok</status>
 <count>
  <success>1</success>
  <failure>0</failure>
 </count>
 <errors/>
 <result/>
</response>
Successful Response [JSON]
{"status":"ok","count":{"success":1,"failure":0},"errors":[]}

Code Examples

POST
curl -d "r_payment[PAYMENT_TYPE][]=PAYMENT_TOKEN" \
     -H "X-Kount-Api-Key: XXX.YYY.ZZZ" \
     https://api.kount.net/rpc/v1/vip/payment.json
POST (batch)
curl -d "r_payment[PAYMENT_TYPE][]=PAYMENT_TOKEN” \
     -d “d_payment[PAYMENT_TYPE][]=PAYMENT_TOKEN" \
     -H "X-Kount-Api-Key: XXX.YYY.ZZZ" \
     https://api.kount.net/rpc/v1/vip/payment.json