Overview
This node interacts with the Pagar.me API to perform various payment-related operations. Specifically, the 'Get BIN Info' operation retrieves information about the Bank Identification Number (BIN), which consists of the first 6 to 8 digits of a card number. This is useful for validating card details, identifying card issuers, or performing fraud checks. Practical examples include verifying card type before processing payments or enriching transaction data with BIN details.
Use Case Examples
- A user inputs the first 6 to 8 digits of a credit card to fetch the issuing bank and card brand information.
- A payment processing workflow uses BIN info to route transactions based on card type or issuer.
Properties
| Name | Meaning |
|---|---|
| BIN | The first 6 to 8 digits of the card number used to query BIN information from the Pagar.me API. |
Output
JSON
bin- The BIN number queried.brand- Card brand associated with the BIN.country- Country of the card issuer.bank- Bank issuing the card.type- Type of card (e.g., credit, debit).
Dependencies
- Requires Pagar.me API credentials including an API key and optionally a public key for certain operations.
Troubleshooting
- Common issues include invalid or missing BIN input, resulting in API errors.
- API authentication errors if the API key credential is not configured correctly.
- Errors related to network connectivity or incorrect API endpoint usage.
- Error messages from the Pagar.me API include HTTP status codes and descriptive messages, which help identify issues such as invalid BIN, unauthorized access, or malformed requests.
Links
- Pagar.me API Documentation - Official documentation for the Pagar.me API, including BIN info endpoint details.