PayFunc API · Payments for Programmers

Payments for Programmers

PayFunc API

100 words 1 minutes

Your system can interact directly with PayFunc’s JSON-based web API.

General

200 words 1 minutes

This details the general usage of the PayFunc API.

Order

700 words 4 minutes

The order endpoint is the primary endpoint used for creating and administrating orders.

Payment

200 words 1 minutes

The order payment endpoint can be used to set payment on an order. This will only be necessary when payment will be delayed, such as when mailing a checkout payment request to a customer for an already created order. Creating Card Token Payment Request POST https://api.payfunc.com/order/<order id>/payment Authentication: Bearer <public.api.key> { "number": "your order identifier", "items": 7.42, "currency": "EUR", "payment": { "type": "card", "card": "<card token>" } } Response - Successful order creation eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.

Me

100 words 1 minutes

The me endpoint is used for logging in the user.