Payment Upon Signature

payment-upon-signature@0.7.1 Contract ^0.13.0 f8cd2e9d5bc5c2468405348afa69e7257f80ac8d7b86e9e84af58e4f14e8f7d4

This is a generic payment clause applicable to any type of contract that requires some payment at the time of signature.

Download Archive Open in Template Studio

Payment Upon Signature

This is a generic payment clause applicable to any type of contract that requires some payment at the time of signature.

Sample

            Upon the signing of this Agreement, "Dave" shall pay 50 USD to "Dan".
          

Model Dependencies

Technical Integration

Please refer to the Cicero documentation for details and examples of how to integrate a call to a Cicero template into your application.

View the Latest code for this template on on GitHub.

Sample Instance

{
    "$class": "org.accordproject.payment.uponsignature.PaymentUponSignatureContract",
    "contractId": "918d61ff-6cac-495d-bee4-8e4cee7bc238",
    "buyer": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Dave"
    },
    "seller": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Dan"
    },
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 50,
        "currencyCode": "USD"
    }
}

State Types

Type Sample JSON
org.accordproject.payment.uponsignature.PaymentUponSignatureState
{
    "$class": "org.accordproject.payment.uponsignature.PaymentUponSignatureState",
    "status": "OBLIGATION_EMITTED",
    "stateId": "2e8b9aa4-b399-11e9-a415-2f2abeed0243"
}

Request Types

Type Sample JSON
org.accordproject.payment.PaymentReceived
{
    "$class": "org.accordproject.payment.PaymentReceived",
    "transactionId": "2e8b9aa0-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:30.378-04:00"
}
org.accordproject.signature.ContractSigned
{
    "$class": "org.accordproject.signature.ContractSigned",
    "contract": "resource:org.accordproject.payment.uponsignature.PaymentUponSignatureContract#3272",
    "transactionId": "2e8b7390-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:30.378-04:00"
}

Response Types

Type Sample JSON
org.accordproject.cicero.runtime.Response
{
    "$class": "org.accordproject.cicero.runtime.Response",
    "transactionId": "2e8b9aa2-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:30.378-04:00"
}

Events Types

Type Sample JSON
org.accordproject.base.Event
{
    "abstract": "this is an abstract type"
}
org.accordproject.cicero.runtime.PaymentObligation
{
    "$class": "org.accordproject.cicero.runtime.PaymentObligation",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 117.331,
        "currencyCode": "SEK"
    },
    "description": "Commodo ex aliquip laboris est.",
    "contract": "resource:org.accordproject.payment.uponsignature.PaymentUponSignatureContract#8880",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#6331",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#0168",
    "deadline": "2019-07-31T09:43:30.379-04:00",
    "eventId": "2e8bc1b0-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:30.379-04:00"
}