Verify payment
curl --request POST \
--url https://api.aura-app.ai/v1/payments/{id}/verify \
--header 'Content-Type: application/json' \
--data '
{
"call_id": "550e8400-e29b-41d4-a716-446655440000"
}
'import requests
url = "https://api.aura-app.ai/v1/payments/{id}/verify"
payload = { "call_id": "550e8400-e29b-41d4-a716-446655440000" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({call_id: '550e8400-e29b-41d4-a716-446655440000'})
};
fetch('https://api.aura-app.ai/v1/payments/{id}/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aura-app.ai/v1/payments/{id}/verify",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'call_id' => '550e8400-e29b-41d4-a716-446655440000'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aura-app.ai/v1/payments/{id}/verify"
payload := strings.NewReader("{\n \"call_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aura-app.ai/v1/payments/{id}/verify")
.header("Content-Type", "application/json")
.body("{\n \"call_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aura-app.ai/v1/payments/{id}/verify")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"call_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"amount": 5000,
"call_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"currency": "usd",
"customer_email": "<string>",
"customer_name": "<string>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"lead_id": "<string>",
"match_candidates": [
{
"confidence": 0.7,
"email": "<string>",
"lead_id": "<string>",
"name": "<string>",
"reason": "email_exact"
}
],
"match_confidence": 123,
"matched_by": "<string>",
"matched_product_id": "<string>",
"organization_id": "<string>",
"payment_date": "2023-11-07T05:31:56Z",
"provider": "stripe",
"provider_payment_id": "pi_xxxxx",
"refund_reason": "<string>",
"refund_status": "<string>",
"refunded_amount": 123,
"refunded_at": "2023-11-07T05:31:56Z",
"status": "succeeded",
"stripe_charge_id": "<string>",
"stripe_customer_id": "<string>",
"stripe_product_id": "<string>",
"stripe_refund_id": "<string>",
"stripe_subscription_id": "<string>",
"verification_status": "confirmed",
"verified_at": "2023-11-07T05:31:56Z"
},
"success": true
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "NOT_FOUND",
"error": "Lead not found",
"success": false,
"requestId": "req_abc123"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "NOT_FOUND",
"error": "Lead not found",
"success": false,
"requestId": "req_abc123"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}Payments
Verify payment
Verify a payment by linking it to a specific call.
Sets the verification status to “confirmed” and links the payment to the specified call. This is useful for manual payment verification when automatic matching doesn’t apply.
POST
/
v1
/
payments
/
{id}
/
verify
Verify payment
curl --request POST \
--url https://api.aura-app.ai/v1/payments/{id}/verify \
--header 'Content-Type: application/json' \
--data '
{
"call_id": "550e8400-e29b-41d4-a716-446655440000"
}
'import requests
url = "https://api.aura-app.ai/v1/payments/{id}/verify"
payload = { "call_id": "550e8400-e29b-41d4-a716-446655440000" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({call_id: '550e8400-e29b-41d4-a716-446655440000'})
};
fetch('https://api.aura-app.ai/v1/payments/{id}/verify', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aura-app.ai/v1/payments/{id}/verify",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'call_id' => '550e8400-e29b-41d4-a716-446655440000'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aura-app.ai/v1/payments/{id}/verify"
payload := strings.NewReader("{\n \"call_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aura-app.ai/v1/payments/{id}/verify")
.header("Content-Type", "application/json")
.body("{\n \"call_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aura-app.ai/v1/payments/{id}/verify")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"call_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"amount": 5000,
"call_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"currency": "usd",
"customer_email": "<string>",
"customer_name": "<string>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"lead_id": "<string>",
"match_candidates": [
{
"confidence": 0.7,
"email": "<string>",
"lead_id": "<string>",
"name": "<string>",
"reason": "email_exact"
}
],
"match_confidence": 123,
"matched_by": "<string>",
"matched_product_id": "<string>",
"organization_id": "<string>",
"payment_date": "2023-11-07T05:31:56Z",
"provider": "stripe",
"provider_payment_id": "pi_xxxxx",
"refund_reason": "<string>",
"refund_status": "<string>",
"refunded_amount": 123,
"refunded_at": "2023-11-07T05:31:56Z",
"status": "succeeded",
"stripe_charge_id": "<string>",
"stripe_customer_id": "<string>",
"stripe_product_id": "<string>",
"stripe_refund_id": "<string>",
"stripe_subscription_id": "<string>",
"verification_status": "confirmed",
"verified_at": "2023-11-07T05:31:56Z"
},
"success": true
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "NOT_FOUND",
"error": "Lead not found",
"success": false,
"requestId": "req_abc123"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "NOT_FOUND",
"error": "Lead not found",
"success": false,
"requestId": "req_abc123"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}{
"code": "<string>",
"error": "<string>",
"success": false,
"requestId": "<string>"
}Verify a payment by linking it to a specific call.
Sets the verification status to “confirmed” and links the payment
to the specified call. This is useful for manual payment verification
when automatic matching doesn’t apply.
Path Parameters
Payment ID (UUID)
Example:
"550e8400-e29b-41d4-a716-446655440000"
Body
application/json
Call ID to link this payment to
Example:
"550e8400-e29b-41d4-a716-446655440000"