Skip to main content
POST
Create temporary crypto wallet
Create a temporary crypto wallet when you expect one customer to send an exact amount. Pasteaza confirms the payment and updates the collection status automatically. The same merchantReference returns the existing wallet in the same API key environment. This prevents duplicate assignments when you retry a request.

Endpoint

Headers

Request body

Example request

Successful response

Only the exact asset and amount received before expiresAt completes the collection automatically. Review the collection status in Pasteaza if a customer sends a different payment.

Errors

Next step

Verify temporary crypto wallet

Check whether the exact payment was received and credited.

Webhooks

Receive a notification after a valid payment is confirmed.

Authorizations

Authorization
string
header
required

Use an sk_test_... key in the playground. Never enter a live key in shared environments.

Body

application/json
merchantReference
string
required
Example:

"CRYPTO-COL-1001"

amount
string
required
Pattern: ^\d+(\.\d+)?$
Example:

"25.50"

asset
enum<string>
required
Available options:
USDC,
USDT
Example:

"USDC"

network
enum<string>
required
Available options:
SOLANA
Example:

"SOLANA"

expiresAt
string<date-time>
metadata
object
Example:

Response

Temporary crypto wallet created.

status
boolean
required
message
string
required
data
object
required