API ReferenceFunding & Bridges
Report a caller-broadcast Glide payment transaction.
const url = 'https://data.predictefy.com/v1/bridge/session/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/payment';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"paymentTransactionHash":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://data.predictefy.com/v1/bridge/session/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/payment \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "paymentTransactionHash": "example" }'Reports the source-chain transaction hash after the caller signs and broadcasts the session's unsignedTransaction. Predictefy maps paymentTransactionHash to Glide SDK 0.13.52's transactionHash field, verifies the exact session first, and sends it with sessionId to Glide's update-payment-transaction endpoint. It never receives a wallet key and does not broadcast the transaction.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
Nonzero source-chain transaction hash returned by the caller's wallet broadcast. The all-zero sentinel fails closed with BRIDGE_TRANSACTION_NOT_FOUND.
Examplegenerated
{ "paymentTransactionHash": "example"}Responses
Section titled “Responses”Provider-native acknowledgement that Glide accepted the payment hash.
object
object
object
object
Glide — a bridge session create, status, or payment-update response produced by Glide.
Example
{ "meta": { "provenance": { "source": "glide" } }}VALIDATION_ERROR
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}The API key is missing, unknown, or revoked. A venue-authenticated read also answers 401 when the venue itself rejects the credential. Not retryable.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}The account's credit balance cannot cover this endpoint's weight. Not retryable.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}The API key lacks the scope this route requires, or the account's plan does not include the feature. Not retryable.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}BRIDGE_SESSION_NOT_FOUND / BRIDGE_TRANSACTION_NOT_FOUND
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}RATE_LIMITED
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}BRIDGE_UPSTREAM
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}BRIDGE_UPSTREAM / BRIDGE_PROVIDER_UNAVAILABLE / platform fail-closed
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}