Partner API
  1. Partner Operations
Partner API
  • Getting Started
    • Introduction
    • Authentication
    • Business Use Cases
  • API References
    • Partner Operations
      • Get Balances
        GET
      • Create Wallet
        POST
      • Get Transaction History
        GET
      • Retrieve Exchange Rate and Create a Lock
        GET
      • Create and Finalize an Exchange
        POST
      • Retrieve Detailed Exchange Infromation
        GET
      • Create Crypto Withdrawal
        POST
      • Get Crypto Withdrawal Details
        GET
      • Create a SEPA Transfer
        POST
      • Get SEPA Transfer Details
        GET
    • User Accounts
      • Create User Account
      • Add KYC File
      • Add POA File
      • Add User Verification
      • Extend user
      • Update Existing User
      • Delete User
      • Suspend User
      • Unsuspend User
      • Get User Balances
      • Get User Transaction History
    • KYC by P100
      • Creating KYC Verification
      • Redirect to Verification
      • Get KYC Status
    • Currency Exchange
      • Retrieve Exchange Rate
      • Retrieve Exchange Rate and Create a Lock
      • Create and Finalize an Exchange
      • Retrieve Detailed Exchange Infromation
    • Crypto Deposits
      • Update Travel Rule
    • Crypto Withdrawals
      • Get Network Fee
      • Create Crypto Withdrawal
      • Get Crypto Withdrawal Details
    • 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
    • Custom Fiat Operations
      • SEPA Deposit & Withdrawal
    • Orders
      • Get Rates
      • Retrieve Order Rate and Create a Lock
      • Create and Finalize an Order
      • Get Order Details
    • Payment link
      • Generate Payment Link
      • Get Payment Link Details
  • Integration
    • SDKs & Integration Guides
    • Transaction Processing
    • Error Handling
    • Rate Limiting
    • Webhooks
      • User & KYC Webhooks
        • User Balance Generation
        • KYC File Added
        • POA Verification Status
        • KYC Verification Status
        • Create wallet
      • Transfers & Payments Webhooks
        • P2P Transfer Webhook
        • SEPA Transfer
        • SEPA Deposit
        • Crypto Withdrawal
        • Crypto Deposit
        • Exchange
        • Card Transaction
        • Order status
        • Payment Link
      • Card Webhooks
        • Card 3DS Code
        • Card Activation Code
  • Reference
    • Supported Countries
    • Supported Currencies
    • Fees
    • FAQ
    • Changelog
    • Support
  1. Partner 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
Get Transaction History
Next
Create and Finalize an Exchange
Built with