Skip to main content
PATCH
/
transactions
/
payment
/
{paymentId}
Update payment intent
curl --request PATCH \
  --url https://api.orafi.app/v1/transactions/payment/{paymentId}
{
  "success": true,
  "message": "Payment intent updated successfully",
  "data": {
    "id": "payment_abc123",
    "amount": 100,
    "amountInUSDC": 100,
    "token": "USDC",
    "depositAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "txRef": "tx_ref_123",
    "status": "CONFIRMED",
    "paymentMethod": "HOSTED_CHECKOUT",
    "redirectUrl": "https://example.com/success",
    "paylinkId": "<string>",
    "customerId": "<string>",
    "transactionId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.orafi.app/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

paymentId
string
required

The payment ID to update

Query Parameters

intent
enum<string>
default:transfer_address

The payment intent type. Default is transfer_address

Available options:
transfer_address,
deposit_address

Response

Payment intent updated successfully

success
boolean
Example:

true

message
string
Example:

"Payment intent updated successfully"

data
object