Rafinita Payment Platform Documentation
website·Indexed 31 days ago
https://docs.rafinita.com/checkout_integrationAPI documentation for the Rafinita Payment Platform, covering S2S card and APM requests, checkout operations, and transaction management. Includes endpoints for Sale, Capture, Void, Refund, and Creditvoid, as well as recurring payment scheduling, transaction status retrieval, and crypto-to-fiat transfers like Credit2Crypto and Credit2Virtual.
What's inside Rafinita
- The Payment Platform SALE API (Version 1.0.0) is used to create and manage Card SALE requests. It supports two primary transaction types: immediate payments (SALE) and authorization-only (AUTH) transactions. The API functionality is categorized into basic operations (Sale, Capture, Void, Creditvoid, Debit), card transfers (Credit2Card, Card2Card), transaction status and detail retrieval, and recurring operation management (Schedules, Retries, and Descheduling).
Overview of the Checkout SDK
The Checkout SDK is a browser-side JavaScript module that allows merchants to build fully custom-branded checkout pages (HTML/CSS/JS) hosted on the Payment Platform. It handles payment sessions, secure card-data processing, 3D-Secure redirect flows, and Apple Pay/Google Pay buttons. Because the form is hosted on the Payment Platform, merchants maintain PCI scope reduction.
Supported Payment Methods: Currently, only CARD, ApplePay, and GooglePay are supported. P2P and debit payment forms are not supported.
Overview of Hosted Payment Fields (HPF) integration
Hosted Payment Fields allow developers to integrate payment pages without requiring PCI DSS Level 1 certification, as sensitive payment data is processed and stored on the platform. The integration supportspurchaseanddebitoperations. A critical requirement for this integration is the inclusion of thereturn_urlparameter to ensure correct redirection after 3DS authentication. Whilesuccess_urlandcancel_urlare optional,return_urlis mandatory.Overview of the Rafinita Payments API
Rafinita is a payment orchestration platform that allows developers to route card and alternative payments across acquirers, networks, and Alternative Payment Methods (APMs) through a single API. The platform supports card payments (Visa, Mastercard, Amex), wallets, bank transfers, crypto on/off-ramps, two-step auth + capture (DMS mode), recurring subscriptions via saved tokens, and multi-acquirer routing with cascading and pre-routing rules.Overview of Rafinita Payment Orchestration Capabilities
Rafinita is a payment orchestration platform that allows developers to route card and alternative payments across acquirers, networks, and Alternative Payment Methods (APMs) through a single API. Key capabilities include:
- Card Payments: Support for Visa, Mastercard, Amex, and regional schemes.
- Alternative Payments: Support for APMs, wallets, bank transfers, and crypto on/off-ramps.
- Transaction Management: Two-step auth + capture (DMS mode for deferred/partial captures), refunds, voids, and credits (full or partial) via server-to-server calls.
- Recurring & Tokenization: Saved-token charges, merchant-scheduled subscriptions, and the ability to tokenize a card once for future reuse.
- Routing: Multi-acquirer routing with cascading across providers and pre-routing rules.
Overview of Rafinita Payment APIs
Rafinita provides three primary Payment APIs based on REST principles that accept and respond with JSON. All requests must be sent via POST. For the Checkout protocol, theContent-Type: application/jsonheader is required.Understand S2S APM hash signature fundamentals
The
hashis a signature used by the Payment Platform to validate requests sent by a system and by the system to validate callbacks sent by the platform.Key Technical Details:
- Algorithm: MD5 by default. If the 'Use SHA256 encryption algorithm for hash' option is enabled in the protocol mapping, SHA256 is used instead. The input string and order remain the same regardless of the digest function.
- Case Sensitivity: All formulas require the assembled input string to be converted to uppercase (equivalent to PHP
strtoupper), which affects onlya-zcharacters. - Concatenation: Values are concatenated directly with no separators or spaces.
Notation:
$PASSWORD: The merchant password from the admin panel (not theclient_key). This is never sent in the request, only used in the hash.$identifier: The identifier request parameter (token, account info, or descriptor). If not sent, it is omitted from the hash.$trans_id: The transaction ID sent in the call or received in the callback.
Configure Cart Payment parameters
Use theparameters[cart][payments]array to specify details about payment methods already applied to a cart, such as gift cards or promotions. All fields in this set are optional.{ "parameters": { "cart": { "payments": [ { "name": "promotion giftcard 50", "type": "GIFTCARD", "amount": "50.00", "currency": "USD", "status": "captured", "brand": "SVS", "primary": true } ] } } }S2S Card payment request payer and payee parameters
When initiating a SALE/AUTH request for S2S Card payments, the following optional parameters can be used to provide details about the payer and payee. All string fields have specific character limits, and the country must be provided as a 2-letter code.{ "payee_email": "string (max 255)", "payee_phone": "string (max 32)", "payer_first_name": "string (max 32)", "payer_last_name": "string (max 32)", "payer_middle_name": "string (max 32)", "payer_birth_date": "yyyy-MM-dd (e.g. 1970-02-17)", "payer_address": "string (max 255)", "payer_address2": "string (max 255)", "payer_house_number": "string (max 9)", "payer_country": "2-letter code", "payer_state": "string (max 32)" }Understand S2S CARD hash signature requirements
The
hashfield is used to validate requests sent to the Payment Platform and callbacks received from it.Key Technical Constraints:
- Digest Algorithm: MD5 by default. If the 'Use SHA256 encryption algorithm for hash' option is enabled in the protocol mapping, SHA256 is used instead. The input string and order remain the same regardless of the algorithm.
- Case Sensitivity: All assembled input strings must be converted to uppercase (equivalent to PHP
strtoupper), which affects onlya-zcharacters. - Optional Parameters: If a formula includes an optional parameter that is not sent in the request (e.g.,
payer_emailin aDEBITrequest), that term must be omitted entirely from the hash input. Do not use empty placeholders or keep separators for missing values.
Connect AI assistants to documentation via MCP
The documentation is available via a public, read-only MCP (Model Context Protocol) server. This allows AI assistants to search and read current documentation pages, including API references and parameter tables, rather than relying on training data. The server uses streamable HTTP transport and requires no API keys or account configuration.https://docs.akurateco.com/mcpCompare Payment Platform integration protocols
Payment Platform offers three primary integration protocols based on where payment data is collected and the level of merchant control required:
- Checkout Integration: The payer is redirected to a Payment Platform checkout page (or an embedded iframe). Payment Platform collects all required parameters. This minimizes merchant effort but reduces control over the payment experience.
- S2S Card (Server-to-Server): The merchant collects card details directly and transmits them to the Payment Platform via API. This requires the merchant to be PCI DSS compliant. There is no redirection except for mandatory 3DS authentication. This is exclusively for card payments.
- S2S APM (Server-to-Server Alternative Payment Methods): Used for APMs or connectors requiring redirection. Merchants use their own pages, bypassing the Payment Platform checkout intermediary. This provides maximum control but requires the merchant to maintain pages for specific APM parameters.