BananaTech
  1. Card related APIs
BananaTech
  • API Security Implementation Guide
  • Guides
    • 01-README
    • 02-Getting-Started
    • 03-Virtual-Cards
    • 04-Physical-Cards
    • 05-Card-Operations
  • Webhook
    • Integration Guide
    • Event Types
  • Merchant related APIs
    • Get Account Balance
      POST
    • Get Card Templates
      POST
    • Set Webhook URL
      POST
    • Get Webhook Records
      POST
  • User related APIs
    • Register
      POST
    • Get Users
      POST
  • Card related APIs
    • Apply
      POST
    • Recharge
      POST
    • Update Status
      POST
    • Get Balance
      POST
    • Get Information
      POST
    • Get Transactions
      POST
    • Assign (for Physical cards only)
      POST
    • Set PIN (for Physical cards only)
      POST
    • 3DS Confirm
      POST
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Card related APIs

Set PIN (for Physical cards only)

POST
/card/set_pin

Request

Header Params

Body Params application/json

Example
{
    "user_id": 0,
    "card_id": 0,
    "pin": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/card/set_pin' \
--header 'Merchant-ID;' \
--header 'X-HMAC;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "user_id": 0,
    "card_id": 0,
    "pin": "string"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "message": "PIN set successfully"
}
Modified at 2025-02-09 21:40:52
Previous
Assign (for Physical cards only)
Next
3DS Confirm
Built with