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" } }}Enveloped 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" }}Enveloped 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" }}Enveloped 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" }}Enveloped 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" }}Enveloped 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" }}Enveloped 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" }}Enveloped 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" }}Enveloped 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" }}