Accept pending payment as Paper Check

šŸ“˜

API Refs

URI Parameters

NameTypeDescriptionRequired
paymentIdstringPending payment idyes

Request body

NameTypeDescriptionRequired
aliasstringAn alias for the client's address information.yes
mailTypestringCheck shipping type. Available in four options only: FedEx, Mail, USPSFirst, USPSTrack.yes

Response body

NameTypeDescriptionRequired
idnumberId of payment. Can be used for any payment operations.yes
transactionIdstringPayment transaction Id. It can be seen in the application in the transaction history.yes
amountnumberPayment amount without any fees.yes
customerIdnumberThe Id of the insured who will receive the payment or has already received it.yes
customerNamestringName of the insured who will receive the payment or has already received it.yes
merchantNamestringName of the insurer who will send the payment or has already sent it.yes
feenumberFee for the payment amount. It will only be different from zero when this payment is sent.yes
feeDeductFromstringWhich side of the transfer will pay the fee.yes
statusstringStatus of payment. Main statuses: Awaiting-cash-out, Canceled, Preparing to mail, In-transit, Settledyes
typestringType of payment. Can be only of two types: ACH or paper check with delivery type.yes
memostringA string with a maximum length of 280 characters.no
createdAtDateCreation dateyes

Example

  1. Get list of insuredā€™s addresses Request with userId = 1;

  2. Get list of insuredā€™s addresses Response:

    [
      {
        "address1": "11 Birch Hill Street",
        "address2": "Apt. 123",
        "city": "Bronx",
        "postalCode": "10023",
        "state": "NY",
        "phone": "123-456-7890",
        "alias": "Home"
      }
    ]
    
    
  3. Get list of self payments Request;

  4. Get list of self payments Response:

    [
      {
        "id": 1,
        "transactionId": "a444aa44-aaa4-4a4a-aaaa-a44a44444a44",
        "amount": 10.23,
         "createdAt": "2023-08-09T15:42:26.683Z",
        "customerId": 1,
        "customerName": "John Smith",
        "merchantName": "Jake Merchant",
        "fee": "0.00",
        "feeDeductFrom": null,
        "status": "Awaiting-cash-out",
        "type": "--",
        "memo": ""
      }
    ]
    
  5. Accept pending payment as Paper Check Request with paymentId = 1:

    {
      "alias": "Home",
      "mailType": "FedEx"
    }
    
  6. Accept pending payment as Paper Check Response:

    {
      "id": 1,
      "transactionId": "a444aa44-aaa4-4a4a-aaaa-a44a44444a44",
      "amount": 10.23,
      "createdAt": "2023-08-09T15:42:26.683Z",
      "customerId": 1,
      "customerName": "John Smith",
      "merchantName": "Jake Merchant",
      "fee": "9.00",
      "feeDeductFrom": "sender",
      "status": "Preparing to mail",
      "type": "Paper Check: USPS First-Class (3-5 days)",
      "memo": "Test check"
    }
    

Description

šŸ“˜

Where to get address alias

You can get all existing addresses with their alias for any you insured. Go to Get list of insuredā€™s addresses for more information about it.

When accepting a pending payment as a paper check, you must always indicate the alias of the address of the insured to whom the paper check will be sent.

If the transaction is successfully created, the pending payment status will change to Preparing to mail.

Such a payment has the following statuses:

  • Preparing to mail;
  • Mailing soon;
  • Rejected;
  • Resubmitted: Preparing to mail again;
  • Canceled;
  • Mailed.