LuxtakLuxtak
  • Introduction
  • Payin API
    • Environments
    • All-In-One Checkout
      • Checkout Page (General)
      • Checkout Page (E-com)
    • Direct integration
      • Brazil
        • Pix
      • Mexico
        • Cash
        • CoDi
        • SPEI
        • Virtual SPEI
          • Create
          • Query
      • Colombia
        • Wallet
        • PSE
      • Chile
        • Bank Transfer
        • Wallet
      • Peru
        • Bank Transfer
        • Cash
      • Ecuador
        • Bank Transfer
        • Cash
      • Russia
        • CreditCard
        • SBP
        • SberPay
        • TPay
        • CardVault
        • SBPVault
      • Global
        • Crypto
        • Binance
      • Paraguay
        • PIXParaguay
      • Argentina
        • BankTransfer
        • QRCode
    • Notification
      • Security
    • Recurring Payment
      • Support Target and Currency
    • Tokenization
    • Payin Detail
    • Refund
    • Data
      • Payment Method
      • Data for test (Sandbox)
      • Payin Status
      • Icon of methods
      • Country Code
    • API Code
  • Payout API
    • Environments
    • Security
    • Submit a payout
      • Brazil
        • Pix
      • Argentina
        • BankTransfer
      • Russia
        • SBP
        • BankTransfer
      • Global
        • Crypto
        • Binance
      • Paraguay
        • PIXParaguay
      • Mexico
        • SPEI
    • Notification
    • Account Balance
    • Payout Status
    • Payout List
    • Payout Detail
    • Payment Method
    • Data for test
    • Bank Code List
      • Bank in Mexico
      • Bank in Argentina
    • API Code

Virtual SPEI

How to query the status and details of a virtual SPEI account in Mexico.

Query Virtual Account

https://gateway-test.luxtak.com/virtual-account/spei/query

This endpoint allows you to query the status and details of a virtual SPEI account by its account_id.

Parameters

Header

ParameterTypeDescription
Content-Type*stringapplication/json; chartset=UTF-8
Authorization*stringBasic Base($app_id:$security_key)

Body

ParameterTypeDescription
app_id*stringcreated app's id at dashboard
- Max. 32 chars -
timestamp*stringyyyy-MM-dd HH:mm:ss
- Max. 19 chars -
account_id*stringthe account_id returned when creating the virtual account

Responses

200query successfully
{
    "code": "10000",
    "msg": "Success",
    "account_id": "DLN**LWG",
    "account_number": "72***69",
    "buyer_id": "0123",
    "provider": "TRANSFER DIRECT",
    "status": "ACTIVE",
    "beneficiary_name": "PULABE20 SA DE CV",
    "notify_url": "https://your-notify-url.com"
}
400account not found
{
    "code": "40002",
    "msg": "Business Failed",
    "sub_code": "account-not-exist",
    "sub_msg": "account not exist"
}

Example

curl --location --request POST 'https://gateway-test.luxtak.com/virtual-account/spei/query' \
--header 'Authorization: Basic MTYyNTgyOTIxNDUzMTY2Mzg6UGFnc21pbGVfc2tfZDUwMWQ1ZGNkNTI5OGQ5N2MwNmUzYjI4YjA2OWZjZmY3NDU5ZjY2NzNiMjFjMTFlYTY3NDM5MDgzOTZkOTYxNQ==' \
--header 'Content-Type: application/json' \
--data-raw '{
    "app_id": "162************38",
    "timestamp": "2025-03-20 11:11:11",
    "account_id": "DLN**LWG"
}'

Tips

Note: 162********38 is luxtak's test app id for sandbox, and MTYyNTgyOTIxNDUzMTY2Mzg6UGFnc21pbGVfc2tfZDUwMWQ1ZGNkNTI5OGQ5N2MwNmUzYjI4YjA2OWZjZmY3NDU5ZjY2NzNiMjFjMTFlYTY3NDM5MDgzOTZkOTYxNQ== is authorization token associated with the test app id.

Warning

Please use your own app_id and generate your own authorization token when testing.

Prev
Create