Skip to main content
POST
/
cards
/
{id}
/
pin
Set PIN
curl --request POST \
  --url https://business.bfinance.app/external/api/cards/{id}/pin \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pin": "1234"
}'
{
  "status": "success",
  "message": "PIN has been set"
}

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string
required

ID of the card to set the PIN for

Body

application/json
pin
string
required

4-digit numeric PIN to be set for the card

Example:

"1234"

Response

Successfully set the PIN for the card

status
string
Example:

"success"

message
string
Example:

"PIN has been set"