Partner API
test
  • latest
  • test
  1. Exchange Operations
Partner API
test
  • latest
  • test
  • Getting Started
    • Introduction
    • Authentication
    • Business Use Cases
  • API References
    • Partner Operations
      • Balances & Transaction History
        • Get Balances
        • Get Transaction History
        • Create Wallet
        • Create transfer master balance
      • Exchange Operations
        • Retrieve Exchange Rate
          GET
        • Create and Finalize an Exchange
          POST
        • Retrieve Detailed Exchange Information
          GET
        • Retrieve Exchange Rate and Create a Lock
          GET
      • SEPA Transfers
      • Crypto Deposits
        • Update Travel Rule
      • Crypto Withdrawal
        • Get Crypto Withdrawal Details
        • Create Crypto Withdrawal
      • Orders
        • Retrieve Order Rate and Create a Lock
        • Create and Finalize an Order
        • Get Order Details
        • Get Rates
      • Payment link
        • Generate Payment Link
        • 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
      • 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
      • Crypto Deposits
        • Update Travel Rule
      • Crypto Withdrawals
        • Get Network Fee
        • Create Crypto Withdrawal
        • Get Crypto Withdrawal Details
      • SEPA Transfers Copy
  • 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
      • Transfers & Payments Webhooks
        • P2P Transfer Webhook
        • 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. Exchange Operations

Retrieve Exchange Rate and Create a Lock

Testing Env
https://partner-api-stage.p100.io
Testing Env
https://partner-api-stage.p100.io
GET
/v1/partner/get-lock
Retrieves the current exchange rates and creates a rate lock for the partner account. The rate lock is valid for 60 seconds.
This endpoint allows you to both preview the latest exchange rates and reserve (lock) a specific rate for a partner-initiated exchange transaction. When called, it returns the current rates for all supported currencies and generates a unique rate lock ID associated with the partner. This lock guarantees that the quoted rates will remain unchanged for 60 seconds, allowing the partner to review and confirm the transaction without risk of rate fluctuation. If the exchange is not finalized within this time window, the lock expires and a new rate must be obtained. Use this endpoint before creating an exchange to ensure the partner receives the expected rate, especially in volatile market conditions. The lock ID returned must be provided in the subsequent exchange request to finalize the transaction at the locked rate.

Request

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

Responses

🟢200Success
application/json
Body

🟠401Access Denied
🟠400P500: Unknown exception
🟠400P501: Service temporarily unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://partner-api-stage.p100.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 Detailed Exchange Information
Next
SEPA Transfers
Built with