1. Currency Exchange
Partner API
  • Getting Started
    • Introduction
    • Authentication
    • Business Use Cases
  • API References
    • Partner Operations
      • Balances & Transaction History
        • Get Balances
        • Get Transaction History
        • Create Wallet
      • Currency Exchange
        • Retrieve Exchange Rate
          GET
        • Retrieve Exchange Rate and Create a Lock
          GET
        • Create and Finalize an Exchange
          POST
        • Retrieve Detailed Exchange Information
          GET
      • SEPA Transfers
        • Get SEPA Deposit Info
        • Get SEPA Deposit Contact List
        • Create a SEPA Transfer
        • Get SEPA Transfer Details
      • Crypto Withdrawal
        • Get Network Fee
        • Create Crypto Withdrawal
        • Get Crypto Withdrawal Details
      • Crypto Deposits
        • Update Travel Rule
      • Orders
        • Get Rates
        • Retrieve Order Rate and Create a Lock
        • Create and Finalize an Order
        • Get Order Details
      • Payment link & Checkout Link
        • Generate Payment Link
        • Generate Hosted Checkout
        • Get Payment Link Details
    • User Operations
      • Onboarding & KYC Flow
        • Create User Account
        • Method A: Add KYC File
        • Method B: Creating KYC Verification
        • Method B: Redirect to Verification
        • Method B: Get KYC Status
        • Add User Verification
        • Add POA File
      • Account Management
        • Update Existing User
        • Delete User
        • Suspend User
        • Unsuspend User
      • Balances & Transaction History
        • Get User Balances
        • Get User Transaction History
      • Currency Exchange
        • Retrieve Exchange Rate
        • Retrieve Exchange Rate and Create a Lock
        • Create and Finalize an Exchange
        • Retrieve Detailed Exchange Information
      • SEPA Transfers
        • Get SEPA Deposit Info
        • GET SEPA Deposit Contact List
        • Create a SEPA Transfer
        • Get SEPA Transfer Details
      • Crypto Withdrawal
        • Get Network Fee
        • Create Crypto Withdrawal
        • Get Crypto Withdrawal Details
      • Crypto Deposits
        • Update Travel Rule
      • Internal Transfers
        • Create a Transfer
        • Get Transfer Details
      • Virtual Cards
        • Create Virtual Card
        • Get All User Cards
        • Get Card Details
        • Update Card PIN
        • Block Card
        • Unblock Card
        • Get Card Limits
        • Update Card Limits
        • Delete Card
  • Integration
    • SDKs & Integration Guides
    • Transaction Processing
    • Error Handling
    • Rate Limiting
    • Webhooks
      • User & KYC Webhooks
        • User Balance Generation Webhook
        • KYC File Added Webhook
        • POA Verification Status Webhook
        • KYC Verification Status Webhook
        • Create Wallet Webhook
        • High Risk KYC Verification Webhook
      • Transfers & Payments Webhooks
        • Internal Transfer Webhook
        • IBAN Status Webhook
        • Partner SEPA Transfer Webhook
        • User SEPA Transfer Webhook
        • SEPA Deposit Webhook
        • Crypto Withdrawal Webhook
        • Crypto Deposit Webhook
        • Exchange Webhook
        • Card Transaction Webhook
        • Order Status Webhook
        • Payment Link Webhook
      • Card Webhooks
        • Card 3DS Code Webhook
        • Card Activation Code Webhook
  • Reference
    • Supported Countries
    • Supported Currencies
    • Fees
    • FAQ
    • Changelog
    • Support
  1. Currency Exchange

Retrieve Exchange Rate and Create a Lock

Testing Env
https://stage-api.fintegence.io
Testing Env
https://stage-api.fintegence.io
GET
/v1/partner/get-lock
Retrieves current exchange rates and creates a rate lock for the exchange transaction.
The lock is valid for 60 seconds.
When called, this endpoint returns current rates and generates a unique lockId. This lock guarantees the quoted rate will remain unchanged during the confirmation window, allowing time to review and finalize the exchange without exposure to market fluctuation.
If the exchange is not finalized within 60 seconds, the lock expires. Call this endpoint again to obtain a new lockId before proceeding.
Lock Expiry
Rate locks expire after 60 seconds. Request a new lock if expiry occurs before exchange finalization.

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or

Responses

🟢200Success
application/json
Bodyapplication/json

🟠401Access Denied
🟠400P500: Unknown exception
🟠400P501: Service temporarily unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://stage-api.fintegence.io/v1/partner/get-lock' \
--header 'x-api-key: <api-key>'
Response Response Example
200 - Success
{
    "id": "7f92b887-159f-4bbb-bb77-3078c0b9dd3d",
    "rates": {
        "btc": 101464.26399862,
        "doge": 0.2180131,
        "eth": 3739.63838808,
        "eur": 1,
        "ltc": 102.49595319,
        "pol": 0.20626987,
        "usdc": 0.850897
    },
    "feePercentage": 1.49,
    "createdAt": "2025-10-02T12:54:46.228Z",
    "validUntil": "2025-10-02T12:55:46.227Z"
}
Previous
Retrieve Exchange Rate
Next
Create and Finalize an Exchange
Built with