POST
/
v2
/
transaction_intents
curl --request POST \
  --url https://dev.sbx.imprint.co/v2/transaction_intents \
  --header 'Content-Type: application/json' \
  --data '{
  "customer_id": "F9B5A5E8-C8B0-4B7A-8E6B-0C8EE90A62CF",
  "payment_method_id": "<string>",
  "amount": 10000,
  "currency": "USD",
  "network_transaction_id": "<string>",
  "merchant_name": "walmart",
  "merchant_address": {
    "street_line1": "123 Main St",
    "street_line2": "Apt 4B",
    "city": "San Francisco",
    "state": "CA",
    "postal_code": "94105",
    "country": "USA"
  },
  "merchant_id": "<string>",
  "merchant_code": "<string>",
  "expected_date": "2025-02-13T19:08:07.000Z",
  "metadata": {
    "platform_version": "2.1.0"
  }
}'
{
  "id": "5B30532B-5B5B-4826-8DE2-429C57B705FD",
  "customer_id": "9B5E1EE0-2E1C-46E7-81B9-3C3917204BE4",
  "payment_method_id": "DCBFC736-2286-42DD-897D-160DCA80AED2",
  "amount": 10000,
  "currency": "USD",
  "status": "CONFIRMED",
  "network_transaction_id": "<string>",
  "partner_transaction_id": "<string>",
  "created_at": "2025-02-13T19:08:07.000Z",
  "updated_at": "2025-02-13T19:08:07.000Z",
  "metadata": {
    "platform_version": "2.1.0"
  }
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Body

application/json

Response

200
application/json

Transaction intent created successfully

The response is of type object.