Gateway API
  1. Transfer Contracts
Gateway API
  • Gateway
    • Payments
      • Payment Contract
        • Generate a Payment Contract
        • Get Payment Contract
        • Cancel a Payment Contract
      • Webhook receiver for payment events
    • Fund Transfers
      • Transfer Contracts
        • Generate a Transfer Contract
          POST
        • Update Transfer Contract
          PATCH
        • Issue the Transfer Contract
          PUT
        • Get Transfer Contract
          GET
        • Pay a Transfer Contract
          PUT
        • Cancel a Transfer Contract
          DELETE
        • Contract Event Webhook
    • Schemas
      • Response
  • Schemas
    • Schemas
      • Response
        • Accounts
          • ResetAPIKeysResponse
          • GetAccountResponse
          • GetAccountActivitiesResponse
        • Wallets
          • CreateWalletResponse
          • CreateDebitEntryResponse
        • Profiles
        • Gateway
          • Transfers
            • GetTransferContractResponse
          • Payments
            • GetPaymentContractResponse
        • SuccessResponse
        • ErrorResponse
      • Models
        • Activities
          • Activity Types
            • PaymentActivityModel
          • SubActivityModel
          • ActivityModel
        • Profiles
          • ProfileModel
          • PersonalProfileModel
          • VerifiedPersonalProfileModel
          • EconomicProfileModel
          • BusinessProfileModel
          • GeographicProfileModel
          • TransactionRecordsModel
          • BehavioralProfileModel
          • DocumentaryProfileModel
          • RiskProfileModel
          • NetworkProfileModel
          • IndustryProfileModel
        • Accounts
          • APIKeysModel
          • AccountModel
          • AccountProxyModel
        • Wallets
          • WalletModel
          • WalletKeysModel
          • LedgerEntryModel
          • TransactionPayloadModel
        • Command
          • Parameters
            • TransferAmountParameters
          • CommandModel
          • CommandContextModel
          • CommandSignerModel
        • Policies
          • Service Policies
            • Accounts Policy
              • Constraints
              • Roles
              • AccountsPolicyModel
          • Policy Templates
            • ServicePolicyModel
            • ServiceRoleModel
            • ServiceConstraintModel
        • Verifiers
          • VerifierModel
          • VerificationModel
        • JWTs
          • ContractToken
        • Resources
        • Gateway
          • Transfers
            • TransferContractModel
            • TransferChannelModel
            • TransferRecipientModel
          • Payments
            • PaymentContractModel
            • PaymentChannelModel
            • PaymentRecipientModel
          • Contracts
            • ContractConstraintModel
            • ContractPreviewModel
            • ContractPaymentModel
            • ContractRecipientModel
            • ChannelModel
            • ContractDeliverableModel
          • Events
            • WebhookEvent
          • Channels
            • ChannelFeesModel
            • ChannelPolicyModel
          • ContractModel
      • RequestBodies
        • Commands
          • ExecuteCommandPayload
        • Accounts
          • CreateAccountPayload
          • RegisterAccountDevicePayload
          • RegisterAccountRecoveryMethodPayload
          • AccountPersonalProfilePayload
          • AttachAccountProfilePayload
        • Wallets
          • CreateWalletPayload
          • CreateDebitEntryPayload
          • DeleteWalletPayload
        • Verifier
          • StartVerificationPayload
          • CompleteVerificationPayload
        • Policies
          • AttachPolicyPayload
        • Resources
          • RegisterResourcePayload
          • RegisterResourceVerifiersPayload
        • Profiles
          • RequestProfileAccessTokenPayload
        • Gateway
          • Transfers
            • GenerateTransferContractPayload
            • UpdateTransferContractPayload
          • Payments
            • GeneratePaymentContractPayload
            • CryptoPaymentPayload
            • MayaPaymentPayload
            • GCashPaymentPayload
            • WalletPaymentPayload
            • QRPHPaymentPayload
            • CardPaymentPayload
  1. Transfer Contracts

Update Transfer Contract

Designing
PATCH
/contracts/transfer/{id}
Update the contract draft until all requirements are met.

Request

Authorization
API Key
Add parameter in header
X-Api-Key
Example:
X-Api-Key: ********************
or
Path Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/contracts/transfer/' \
--header 'X-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": 0,
    "currency": "PHP",
    "status": "draft",
    "issued_to": "string",
    "description": "string",
    "deliverable": {
        "type": "order",
        "reference_id": "string",
        "description": "string",
        "details": "string"
    },
    "recipient": {
        "name": "string",
        "email": "user@example.com",
        "mobile": "string",
        "wallet": "string",
        "tag": "string",
        "address": "string",
        "country": "string"
    },
    "channel": "unionbank",
    "preview": {
        "amount": 0,
        "valid": false,
        "fees": {
            "total": 0,
            "covered": true,
            "breakdown": {
                "pct": 0,
                "add": 0,
                "min": 0,
                "max": 0,
                "fixed": 0
            }
        },
        "messages": [
            {
                "code": "string",
                "type": "error",
                "message": "string"
            }
        ]
    },
    "expires_in": 0
}'
Response Response Example
{
    "status": "string",
    "message": "string",
    "data": {}
}
Modified at 2025-09-19 00:39:26
Previous
Generate a Transfer Contract
Next
Issue the Transfer Contract
Built with