You can update your Contacts by sending a Contact file to Payreq via SFTP. This method is generally used where you supply Contact data as part of an automated or recurring process from a billing, rating, payroll, or other source system, whether you do this yourself or through a Print Service Provider.
A complete technical overview is available in the Payreq Interface Specification.
How the SFTP process works
- You prepare a Contact file.
- The file is uploaded to Payreq's SFTP server.
- Payreq processes the file.
- Contact records are added, updated, or replaced according to the file and its header instructions.
- Payreq generates an acknowledgement file once processing is complete.
- You review the acknowledgement file, and review any Subscriptions flagged Deregister?
File requirements
Contact files must be supplied in CSV format. Each file must contain:
- One header record
- One or more Contact records
- One trailer record
You can choose the file name, provided that:
- Each file name is unique
- The file extension is
.csv - The file name uses only standard US ASCII characters
- Accented characters and control characters are not used in the file name
Header record: choosing the correct file type identifier
The first row in the file must be the header record. It identifies the file and tells Payreq how to process it. The file type identifier controls how the Contact file is processed.
Use ADD_CONTACTS when the file should:
- Add new Contacts
- Update matching existing Contacts
- Leave other existing Contacts unchanged
Use REPLACE_CONTACTS only when the file contains the full Contact list that should remain in Payreq Delivery. Use a replacement file carefully, because Contacts not included in the file may no longer remain available in the same way after processing.
Before sending a replacement file, confirm that:
- The file contains all required Contacts
- Existing Contact IDs have been retained where appropriate
- The possible effect on active Subscriptions has been considered
- The file has been reviewed by the appropriate person in your organisation
Contact fields
The Contact file includes several configurable Contact fields. These matter because they are used to match Subscription requests to the correct Contact record. The mandatory Contact fields are:
| Field No. | Field name | Description |
|---|---|---|
| 1 | Record Type | Hard-coded value "1" at the start of the record, to indicate that it is a Contact row. |
| 2 | Sender Id | The unique sender ID for a registered channel. If a sender or mailhouse is set up to send to BPAY View, this is the BPAY unique biller ID. |
| 3 | Contact Id | The unique ID for a Contact. This could be the BVRN, a property ID, or an employee ID agreed during onboarding. |
| 4 | Contact Full Name | The full name of the customer or employee, up to 100 characters, for example "Mr John Smith" or "Ms Jane Doe". |
| 11 | Contact Field 1 | The first Contact ID field value. This value is specified during onboarding and can be reviewed under Settings in the Payreq console. |
Confirm the required values and field usage during onboarding. You can review them in the Payreq Delivery console Settings. For more detail, see Understanding Contact Field Settings.
Uploading the file
- Prepare the Contact file in the agreed CSV format.
- Connect to Payreq's SFTP server using the credentials provided to your organisation.
- Place the file in the
/incomingdirectory. - Allow Payreq to process the file.
- Review the acknowledgement file once processing is complete.
Do not upload the same file more than once unless Payreq Support asks you to.
Acknowledgement files
After Payreq processes the Contact file, an acknowledgement file is placed in the Payreq SFTP outbound folder. It gives the overall result of the Contact load, and includes:
- The file name Payreq received
- The overall processing status
- A message confirming the result or explaining the failure
- The original header you provided in the Contact file
- The trailer count
The overall status indicates whether the file processed successfully:
- OK: the file was processed successfully
- ERR: the file failed processing and needs investigation
If your organisation does not need acknowledgement files, you can discuss this with Payreq during onboarding, or by contacting Payreq Support.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article