---
updatedAt: 2025-03-08T00:36:16.000Z
agentTools:
  projectIndex: https://developers.owlpay.com/llms.txt
---

# Disburse a Payment Intent

Sandbox only

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "OwlPay Tunnel APIs",
    "description": "",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.owlpay.com"
    }
  ],
  "paths": {
    "/api/v1/platform/tunnel/payment_intents/{payment_intent_uuid}/disburse": {
      "post": {
        "summary": "Disburse a refunded Payment Intent",
        "operationId": "disburseARefundedPaymentIntent",
        "description": "Sandbox only",
        "parameters": [],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "data": {
                      "uuid": "pi_test_D188kMVczhXkzjxZyG",
                      "application_payment_intent_uuid": "a5699177-1d47-4056-960d-a7726133a88f",
                      "secret": "pp_75244e6769384d489579598ad059a5a5_st_ce7c36bd283f4c738499746068ffb43a",
                      "description": "description",
                      "is_test": true,
                      "payment_content_description": "payment_content_description",
                      "payment_method": "credit_card",
                      "payment_method_type": "credit_card",
                      "country": "HK",
                      "currency": "HKD",
                      "total": 1000,
                      "net": 963,
                      "fee_currency": "HKD",
                      "fee_total": 37,
                      "status": "captured",
                      "reversed_uuid": null,
                      "cancelled_at": null,
                      "cancelled_reason": null,
                      "refund_total": 0,
                      "refund_reason": null,
                      "failed_reason": null,
                      "bank_status": "bank_in_process",
                      "customer_email": null,
                      "customer_phone_code": null,
                      "customer_phone_number": null,
                      "authorized_uuid": "7223354707696213303955",
                      "authorized_at": "2024-07-30T10:31:11+00:00",
                      "authorized_card_number": "1000",
                      "captured_uuid": "7223356730616297703955",
                      "captured_at": null,
                      "application_apply_to_payout_at": null,
                      "application_apply_to_payout_user_uuid": null,
                      "bank_paid_currency": "HKD",
                      "bank_paid_total": 0,
                      "bank_paid_at": null,
                      "executed_to_payout_at": null,
                      "payout_to_application_currency": "HKD",
                      "payout_to_application_total": 0,
                      "payout_to_application_at": null,
                      "finished_at": null,
                      "payout_to_application_bank_name": null,
                      "payout_to_application_bank_account_name": null,
                      "payout_to_application_bank_account_number": null,
                      "ip": "127.0.0.1",
                      "return_url": "https://gateway.paynow.com.tw/",
                      "tags": [],
                      "actions": {
                        "is_allow_cancel": false,
                        "is_allow_capture": false,
                        "is_allow_refund": false,
                        "is_allow_settle": false,
                        "is_allow_auth": false
                      },
                      "created_at": "2024-07-30T10:30:36+00:00",
                      "updated_at": "2024-07-30T10:34:35+00:00"
                    },
                    "status": 200
                  },
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "uuid": {
                          "type": "string",
                          "example": "pi_test_D188kMVczhXkzjxZyG"
                        },
                        "application_payment_intent_uuid": {
                          "type": "string",
                          "example": "a5699177-1d47-4056-960d-a7726133a88f"
                        },
                        "secret": {
                          "type": "string",
                          "example": "pp_75244e6769384d489579598ad059a5a5_st_ce7c36bd283f4c738499746068ffb43a"
                        },
                        "description": {
                          "type": "string",
                          "example": "description"
                        },
                        "is_test": {
                          "type": "boolean",
                          "example": true
                        },
                        "payment_content_description": {
                          "type": "string",
                          "example": "payment_content_description"
                        },
                        "payment_method": {
                          "type": "string",
                          "example": "credit_card"
                        },
                        "payment_method_type": {
                          "type": "string",
                          "example": "credit_card"
                        },
                        "country": {
                          "type": "string",
                          "example": "HK"
                        },
                        "currency": {
                          "type": "string",
                          "example": "HKD"
                        },
                        "total": {
                          "type": "integer",
                          "example": 1000
                        },
                        "net": {
                          "type": "integer",
                          "example": 963
                        },
                        "fee_currency": {
                          "type": "string",
                          "example": "HKD"
                        },
                        "fee_total": {
                          "type": "integer",
                          "example": 37
                        },
                        "status": {
                          "type": "string",
                          "example": "captured"
                        },
                        "reversed_uuid": {
                          "type": "string",
                          "example": null
                        },
                        "cancelled_at": {
                          "type": "string",
                          "example": null
                        },
                        "cancelled_reason": {
                          "type": "string",
                          "example": null
                        },
                        "refund_total": {
                          "type": "integer",
                          "example": 0
                        },
                        "refund_reason": {
                          "type": "string",
                          "example": null
                        },
                        "failed_reason": {
                          "type": "string",
                          "example": null
                        },
                        "bank_status": {
                          "type": "string",
                          "example": "bank_in_process"
                        },
                        "customer_email": {
                          "type": "string",
                          "example": null
                        },
                        "customer_phone_code": {
                          "type": "string",
                          "example": null
                        },
                        "customer_phone_number": {
                          "type": "string",
                          "example": null
                        },
                        "authorized_uuid": {
                          "type": "string",
                          "example": "7223354707696213303955"
                        },
                        "authorized_at": {
                          "type": "string",
                          "example": "2024-07-30T10:31:11+00:00"
                        },
                        "authorized_card_number": {
                          "type": "string",
                          "example": "1000"
                        },
                        "captured_uuid": {
                          "type": "string",
                          "example": "7223356730616297703955"
                        },
                        "captured_at": {
                          "type": "string",
                          "example": null
                        },
                        "application_apply_to_payout_at": {
                          "type": "string",
                          "example": null
                        },
                        "application_apply_to_payout_user_uuid": {
                          "type": "string",
                          "example": null
                        },
                        "bank_paid_currency": {
                          "type": "string",
                          "example": "HKD"
                        },
                        "bank_paid_total": {
                          "type": "integer",
                          "example": 0
                        },
                        "bank_paid_at": {
                          "type": "string",
                          "example": null
                        },
                        "executed_to_payout_at": {
                          "type": "string",
                          "example": null
                        },
                        "payout_to_application_currency": {
                          "type": "string",
                          "example": "HKD"
                        },
                        "payout_to_application_total": {
                          "type": "integer",
                          "example": 0
                        },
                        "payout_to_application_at": {
                          "type": "string",
                          "example": null
                        },
                        "finished_at": {
                          "type": "string",
                          "example": null
                        },
                        "payout_to_application_bank_name": {
                          "type": "string",
                          "example": null
                        },
                        "payout_to_application_bank_account_name": {
                          "type": "string",
                          "example": null
                        },
                        "payout_to_application_bank_account_number": {
                          "type": "string",
                          "example": null
                        },
                        "ip": {
                          "type": "string",
                          "example": "127.0.0.1"
                        },
                        "return_url": {
                          "type": "string",
                          "example": "https://gateway.paynow.com.tw/"
                        },
                        "tags": {
                          "type": "array",
                          "example": []
                        },
                        "actions": {
                          "type": "object",
                          "properties": {
                            "is_allow_cancel": {
                              "type": "boolean",
                              "example": false
                            },
                            "is_allow_capture": {
                              "type": "boolean",
                              "example": false
                            },
                            "is_allow_refund": {
                              "type": "boolean",
                              "example": false
                            },
                            "is_allow_settle": {
                              "type": "boolean",
                              "example": false
                            },
                            "is_allow_auth": {
                              "type": "boolean",
                              "example": false
                            }
                          }
                        },
                        "created_at": {
                          "type": "string",
                          "example": "2024-07-30T10:30:36+00:00"
                        },
                        "updated_at": {
                          "type": "string",
                          "example": "2024-07-30T10:34:35+00:00"
                        }
                      }
                    },
                    "status": {
                      "type": "integer",
                      "example": 200,
                      "description": "Status of the payment_intent (created, checking_out, authorized, cancelled, captured, failed, partial_refund, full_refund, payment_processing, payment_completed, payment_failed)"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Payment Intent"
        ]
      },
      "parameters": [
        {
          "in": "path",
          "name": "payment_intent_uuid",
          "description": "",
          "example": 1,
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ]
    }
  },
  "tags": [
    {
      "name": "Payment Intent",
      "description": "Payment intents"
    }
  ],
  "components": {
    "securitySchemes": {
      "default": {
        "type": "http",
        "scheme": "bearer",
        "description": "You can retrieve your token by visiting your dashboard and clicking <b>Generate API token</b>."
      }
    }
  },
  "security": [
    {
      "default": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```