LawPay

App · 11 actions

Review LawPay transactions, recurring charges and gateway events.

Actions

ActionWhat it does
Get eventGet event in the LawPay gateway.
Get merchantGet merchant in the LawPay gateway.
Get occurrenceGet occurrence in the LawPay gateway.
Get recurring chargeGet recurring charge in the LawPay gateway.
Get transactionGet transaction in the LawPay gateway.
List eventsList events in the LawPay gateway.
List occurrencesList occurrences in the LawPay gateway.
List recurring chargesList recurring charges in the LawPay gateway.
List transactionsList transactions in the LawPay gateway.
Refund chargeRefund charge in the LawPay gateway.
Void transactionVoid transaction in the LawPay gateway.

Get event

Get event in the LawPay gateway.

Inputs

Event IDevent_idtextRequired
Event ID.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "created": "example",
    "data": {
      "account_id": "example",
      "amount": 1,
      "amount_refunded": 1,
      "authorization_code": "example",
      "auto_capture": false,
      "created": "example",
      "currency": "example",
      "id": "example",
      "method": {
        "address1": "example",
        "card_type": "example",
        "cvv": "example",
        "exp_month": 1,
        "exp_year": 1,
        "fingerprint": "example",
        "name": "example",
        "number": "example",
        "postal_code": "example",
        "type": "example"
      },
      "modified": "example",
      "status": "example",
      "type": "example"
    },
    "id": "example",
    "type": "example"
  }
}

Get merchant

Get merchant in the LawPay gateway.

Inputs

None.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "ach_accounts": [],
    "address1": "example",
    "api_allowed_ip_address_ranges": "example",
    "city": "example",
    "contact_email": "example",
    "contact_name": "example",
    "contact_phone": "example",
    "country": "example",
    "created": "example",
    "id": "example",
    "merchant_accounts": [],
    "modified": "example",
    "name": "example",
    "postal_code": "example",
    "public_key": "example",
    "state": "example",
    "timezone": "example"
  }
}

Get occurrence

Get occurrence in the LawPay gateway.

Inputs

Recurring chargerecurring_charge_idtextRequired
Choose a record from the connected account.
Occurrence IDoccurrence_idtextRequired
Occurrence ID.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "id": "example"
  }
}

Get recurring charge

Get recurring charge in the LawPay gateway.

Inputs

Recurring chargerecurring_charge_idtextRequired
Choose a record from the connected account.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "account_id": "example",
    "amount": 1,
    "currency": "example",
    "description": "example",
    "id": "example",
    "method": {
      "card_type": "example",
      "exp_month": 1,
      "exp_year": 1,
      "fingerprint": "example",
      "name": "example",
      "number": "example",
      "type": "example"
    },
    "next_payment": "example",
    "schedule": {
      "interval_delay": 1,
      "interval_unit": "example",
      "start": "example"
    },
    "status": "example",
    "total_amount": 1,
    "total_occurrences": 1
  }
}

Get transaction

Get transaction in the LawPay gateway.

Inputs

Transactiontransaction_idtextRequired
Choose a record from the connected account.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "account_id": "example",
    "amount": 1,
    "amount_refunded": 1,
    "authorization_code": "example",
    "auto_capture": false,
    "currency": "example",
    "id": "example",
    "method": {
      "address1": "example",
      "card_type": "example",
      "exp_month": 1,
      "exp_year": 1,
      "fingerprint": "example",
      "name": "example",
      "number": "example",
      "postal_code": "example",
      "type": "example"
    },
    "refunds": [],
    "status": "example",
    "type": "example"
  }
}

List events

List events in the LawPay gateway.

Inputs

Pagepagenumber
Page.At least 1.
Page sizepage_sizenumber
Page size.From 1 to 1000.
Start datestart_datedate and time
Start date.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "page": 1,
    "page_size": 1,
    "results": [],
    "total_entries": 1
  }
}

List occurrences

List occurrences in the LawPay gateway.

Inputs

Recurring chargerecurring_charge_idtextRequired
Choose a record from the connected account.
Pagepagenumber
Page.At least 1.
Page sizepage_sizenumber
Page size.From 1 to 100.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "page": 1,
    "page_size": 1,
    "results": [],
    "total_entries": 1
  }
}

List recurring charges

List recurring charges in the LawPay gateway.

Inputs

Pagepagenumber
Page.At least 1.
Page sizepage_sizenumber
Page size.From 1 to 100.
Account IDaccount_idtext
Account ID.
Statusstatustext
Status.One of: ACTIVE, COMPLETED.
Referencereferencetext
Reference.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "page": 1,
    "page_size": 1,
    "results": [],
    "total_entries": 1
  }
}

List transactions

List transactions in the LawPay gateway.

Inputs

Pagepagenumber
Page.At least 1.
Page sizepage_sizenumber
Page size.From 1 to 100.
Searchsearchtext
Search.
Account IDaccount_idtext
Account ID.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "page": 1,
    "page_size": 1,
    "results": [],
    "total_entries": 1
  }
}

Refund charge

Refund charge in the LawPay gateway.

Inputs

Charge IDcharge_idtextRequired
Charge ID.
Amountamountnumber
Amount.At least 0.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "account_id": "example",
    "amount": 1,
    "auto_capture": false,
    "charge_id": "example",
    "currency": "example",
    "id": "example",
    "method": {
      "card_type": "example",
      "exp_month": 1,
      "exp_year": 1,
      "fingerprint": "example",
      "name": "example",
      "number": "example",
      "type": "example"
    },
    "status": "example",
    "type": "example"
  }
}

Void transaction

Void transaction in the LawPay gateway.

Inputs

Transactiontransaction_idtextRequired
Choose a record from the connected account.
Referencereferencetext
Reference.

Outputs

dataobject
The response from LawPay.
Example output
{
  "data": {
    "account_id": "example",
    "amount": 1,
    "amount_refunded": 1,
    "authorization_code": "example",
    "auto_capture": false,
    "currency": "example",
    "id": "example",
    "method": {
      "address1": "example",
      "card_type": "example",
      "city": "example",
      "exp_month": 1,
      "exp_year": 1,
      "fingerprint": "example",
      "name": "example",
      "number": "example",
      "postal_code": "example",
      "state": "example",
      "type": "example"
    },
    "status": "example",
    "type": "example"
  }
}

On this page