Retrieve a Payment
GET
/v1/payments/{id}
const url = 'https://api.parasta.io/v1/payments/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.parasta.io/v1/payments/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
id
required
string
amount
required
Smallest unit
integer format: int64
currency
required
string
network
required
string
status
required
string
pay_address
required
string
expires_at
required
string format: date-time
settlement
object
mode
required
Coin = keep crypto; fiat = exchange to fiat (USD/KRW/IDR) at confirmation; splits = mixed
string
fiat
Required when mode=fiat. Selects the fiat currency and the destination bank account.
object
currency
required
string
account
required
Bank account ID for the chosen fiat currency
string
splits
Array<object>
object
destination
required
string
fiat
Required when destination=fiat.
object
currency
required
string
account
required
string
percent
required
number
metadata
object
key
additional properties
string
created
string format: date-time
Example
{ "id": "pi_abc123", "amount": 10000000, "currency": "USDT", "network": "POLYGON", "status": "succeeded", "pay_address": "0x1234...abcd", "expires_at": "2026-05-11T12:30:00Z", "settlement": { "mode": "fiat", "fiat": { "currency": "KRW", "account": "kacct_abc123" } }, "metadata": { "order_id": "order_4567" }, "created": "2026-05-11T12:00:00Z"}Object not found
Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
request_id
string
Example
{ "error": { "type": "authentication_error" }}