The payment object

{
  "object": "payment",
  "id": "lery0alja5v6j8bp4nkpy19y",
  "amount": "5000.00",
  "currency": "USD",
  "settlementAmount": "5000.00",
  "settlementCurrency": "USD",
  "sourceId": "6whpaa24mz35khmwec931l3i",
  "sourceType": "Bank",
  "datePosted": "2019-07-11T14:00:52.000Z",
  "datePaid": "2019-07-11T14:00:52.000Z",
  "dateFailed": "2019-07-11T14:00:52.000Z",
  "assuretyPosted": "assured",
  "status": "posted",
  "ownerId": "yxfxbcl6jjtjk57zv7t97i01",
  "created": "2019-07-11T14:00:49.000Z",
  "lastUpdated": "2019-07-11T14:00:52.000Z",
  "payerId": "o62bdcp9dzdelc2bcudsru9l",
  "bank": {
    "nameOnAccount": "Jessica Lin",
    "routingNumber": "110000000",
    "accountNumber": "000123456789",
    "currency": "USD",
    "accountType": "checking",
    "externalId": "bank_001",
    "billingAddress": {
      "street1": "payer street",
      "city": "payer city",
      "state": "CA",
      "country": "USA",
      "postalCode": "95060"
    }
  },
  "payer": {
    "object": "payer",
    "id": "o62bdcp9dzdelc2bcudsru9l",
    "name": "Christina C",
    "email": "[email protected]",
    "address": {
      "object": "address",
      "id": "wfhem0iqzhvij7u3ulalq1xk",
      "street1": "41 Grandview St Unit C",
      "city": "Santa Cruz",
      "state": "CA",
      "postalCode": "95060",
      "country": "USA",
      "status": "active",
      "created": "2019-07-11T14:00:49.000Z",
      "lastUpdated": "2019-07-11T14:00:50.000Z"
    },
    "ownerId": "yxfxbcl6jjtjk57zv7t97i01",
    "status": "active",
    "created": "2019-07-11T14:00:49.000Z",
    "lastUpdated": "2019-07-11T14:00:50.000Z"
  },
  "source": {
    "object": "bank",
    "id": "6whpaa24mz35khmwec931l3i",
    "accountType": "checking",
    "bankName": "Paystand Test Bank",
    "routingNumber": "110000000",
    "nameOnAccount": "Jessica Lin",
    "accountHolderType": "individual",
    "currency": "USD",
    "country": "USA",
    "last4": "6789",
    "fingerprint": "4cpw32i0hoz5iyhx7la194cy",
    "payerId": "o62bdcp9dzdelc2bcudsru9l",
    "billingAddress": {
      "object": "address",
      "id": "pqb96kvax0f6m98x7nsxtrqy",
      "street1": "payer street",
      "city": "payer city",
      "state": "CA",
      "postalCode": "95060",
      "country": "USA",
      "status": "active",
      "created": "2019-07-11T14:00:49.000Z",
      "lastUpdated": "2019-07-11T14:00:50.000Z"
    },
    "externalId": "bank_001",
    "dropped": false,
    "verified": false,
    "status": "active",
    "created": "2019-07-11T14:00:49.000Z",
    "lastUpdated": "2019-07-11T14:00:50.000Z"
  },
  "holds": [
    {
      "object": "hold",
      "id": "4ygc3grvp2tuitay04kkjxu3",
      "amount": "5000.00",
      "currency": "USD",
      "holdTime": "0",
      "releaseDate": "2019-07-11T14:00:50.000Z",
      "resourceId": "lery0alja5v6j8bp4nkpy19y",
      "resourceType": "Payment",
      "status": "active",
      "created": "2019-07-11T14:00:50.000Z",
      "lastUpdated": "2019-07-11T14:00:53.000Z"
    }
  ],
  "customValues": [
    {
      "object": "customValue",
      "id": "883oomcc7le9qg0oh0srqp24",
      "fieldValue": "Paystand",
      "customField": {
        "id": "iu2ogmdxfiucld9lycdwjul1",
        "fieldName": "What is you name",
        "fieldKey": "whatIsYourName"
      },
      "resourceId": "lery0alja5v6j8bp4nkpy19y",
      "resourceType": "Payment",
      "status": "active",
      "created": "2019-12-30T17:28:53.000Z",
      "lastUpdated": "2019-12-30T17:28:53.000Z"
    }
  ],
  "accountKey": "default",
  "accountId": "62k1nbxvolfhnpa9cwdm5yyb",
  "balanceChangeId": "hbf6rj5k3brxpafyjp70w843"
}

id string
The unique id of the payment.

object string, value is "payment"

amount string
The amount of the payment.

currency string, possible values: USD, CAD, EUR, MXN, AUD and GBP.
The currency of the payment.

settlementAmount string

settlementCurrency string, possible values: USD, CAD, EUR, MXN

bank bank object
The bank object used to create a payment.

tokenId string
The id of the token used to create a payment.

cardId string
The id of the card used to create a payment.

bankId string
The id of the bank used to create a payment.

transferType string, possible values: simple, advanced
The type of transfers used for the payment.

transfers transfers object
The transfer object used during payment creation

datePosted datestring
The date the payment was posted.

dateFailed datestring
The date the payment failed.

datePaid datestring
The date the payment was paid.

fees array of fee objects
List of fees applied to the payment.

holds array of hold objects
List of holds on the payment.

refunds array of refund objects
List of refunds applied to the payment.

disputes array of dispute objects
List of disputes applied to the payment.

payerId string
The id of the payer associated with the payment.

payer payer object
The payer object associated with the payment.

source card object | bank object
The card or bank object, returned in a payment response.

sourceId string
The id of the card or bank used for the payment.

sourceType string, possible values: Card, Bank
The source type used for the payment.

balanceChangeId balance change object
The id of the last balance change that was applied to the payment.

accountKey string
The key of the account used to send the funds to.

assuretyPosted string, possible values: assuring, assured, failed

assuring
The payment is currently in the processes of being assured.

assured
The payment has been assured.

failed
Something went wrong trying to assure the payment.

ownerId string
The customer owner of the payment.

status string, possible values: processing, posted, paid, failed

processing
The payment is in the process of being sent to one of our banking partners.

posted
The payment has been received by one of our banking partners.

paid
We have received confirmation that the payment is successful and the funds have been made available.

failed
The payment was unsuccessful. This can be due to a declined card or insufficient funds in a bank account.

created datestring
The date the payment was created.

lastUpdated datestring
The date the payment was last updated.

customValues array of custom value objects
List of custom values applied to the payment