Skip to main content
POST
/
payments
/
v1
/
cards
/
otp
Submit Card OTP
curl --request POST \
  --url https://sandbox-api.payfonte.com/payments/v1/cards/otp \
  --header 'Content-Type: application/json' \
  --header 'client-id: <api-key>' \
  --header 'client-secret: <api-key>' \
  --data '
{
  "reference": "DCD20260701144120NCDZW",
  "otp": "543210"
}
'
{
  "statusCode": 200,
  "data": {
    "reference": "DCD20260701133425EIQWF",
    "action": "pin",
    "data": {}
  }
}

Authorizations

client-id
string
header
required
client-secret
string
header
required

Body

application/json

Card OTP request

reference
string
required

Card payment reference returned by the previous card payment step.

Example:

"DCD20260701144120NCDZW"

otp
string
required

One-time password collected from the customer.

Example:

"543210"

Response

Card payment requires the next customer action or verification.

statusCode
integer
required

Application status code returned in the response body.

Example:

200

data
object
required