HomeProduct DocsAPI ReferenceChangelog
RecurlyAPI GuidesRecurly.jsWebhooksAPI ReferenceSupportBook demo
Product Docs

Gateway specific information for invoice numbers

Overview

Prerequisites

  • Access to one or more supported payment gateways.

Limitations

  • Gateways each have their own character limit for gateway attributes.

Invoice numbers character limits

Invoice numbers that exceed the character limit for a gateway will be left truncated to meet the maximum character requirement for that gateway.

The following table displays the gateway and the maximum character requirement for that gateway:

GatewayMax Number of Characters
Freedom Pay17
Chase Orbital22
Card Connect36
Check Commerce40
WorldPay100

Invoice numbers that exceed the character limit for a gateway will be left truncated to meet the maximum character requirement for that gateway. Some gateways have additional attributes that are set that may use invoice numbers.

The following table displays the gateway and the maximum character requirement for that gateway and the special considerations for gateway attributes:

GatewayMax Number of CharactersSpecial Considerations
Vantiv17/25Purchases and refunds use invoice number, it will be truncated if over 25 characters.
Other transactions use transaction uuid, this will be left truncated if over 25 characters.
invoiceNumberReference set to invoiceNumber
Customer reference set to invoice number, will be left truncated if over 17 characters.
TSYS15If the invoice number is empty, falls back to PO Number.
PayPal127PayPal Business, PayPal UK, PayPal Complete:
Greater than 127 characters, INVNUM is left truncated to 127 characters.
Stripe25Long invoice numbers of 500 characters:
Level 3 merchant reference, left truncated at 25 characters.
Level 3 customer reference, left truncated at 17 characters.
Invoice numbers of 17 characters or less:
Full invoice number for metadata.invoiceNumber, Level 3 merchant reference, Level 3 customer reference.
Authorize.net20PO Number left truncated to 25 characters.
Order.InvoiceNumber left truncated to 20 characters.
Adyen25merchantOrderReference full invoice number up to 1000 characters.
enhancedSchemeData.customerReference left truncated to 25 characters.
AmazonPay V1128Left truncated if over 128 characters.
OrderReferenceAttributes.SellerOrderAttributes.SellerOrderID, SellerOrderAttributes.SellerOrderId
Braintree127Invoice number left truncated if over 128 characters for OrderId.
purchaseOrderNumber is left truncated if over 12 characters.
CybersourceVaries by processorAsia, Middle East, and Africa gateways: 40 characters.
China UnionPay: 40 characters.
Elavon Americas: 39 characters.
FDC Nashville Global: 8 characters.
All other processors: 8 characters.