Skip to main content
POST
Confirm a payin with a code

Authorizations

Authorization
string
header
required

Secret API key from Dashboard → Developers: kp_sandbox_… for Sandbox, kp_live_… for Production. Server-side only.

Path Parameters

reference
string
required

Payin reference (tx_…) or id.

Body

application/json
otp
string
required

Code generated by the customer, as they typed it.

Required string length: 3 - 12

Response

Success

ok
enum<boolean>
required
Available options:
true
data
object
required