Get Transaction By UUID

Get Transaction By UUID

Get Transaction By UUID

/showByUuid

GET https://api.agilspotpay.com.br/api/checkout/showByUuid

This endpoint only requires the uuid parameter

Request Body

Name
Type
Description

uuid*

String

[
    {
        "id": "...",
        "object_id": "6...7",
        "user_id": "5...0",
        "organization_id": null,
        "organization_info": null,
        "filial_id": null,
        "invoice_brand": "AgilSpot Pay",
        "invoice_type": "multi_option",
        "metadata": "COD:30459074314d8ba",
        "currency": "BRL",
        "invoice_status": "pending_payment",
        "status": "pending_payment",
        "option_capture": null,
        "expected_month_1": null,
        "expected_month_2": null,
        ....,
        ....,
    }
]

Example Code: The APIs follow the REST standard, so they can be integrated with your preferred programming language, but here are some examples with the main languages:

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.agilspotpay.com.br/api/checkout/showByUuid?uuid={param}',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer bb3fe.....51ab........a5c....e2'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;