- Credits from a transaction without reference
POST {{baseURL}}/pay-api/v1/transactions/return/no-reference
This endpoint refunds or returns funds without a reference.
Without a reference means the customer does not have the link to the original transaction identifier. This creates a refund transaction that is not linked to a specific previous transaction. Instead of refunding a known transaction identifier, the system processes a standalone credit back to the cardholder's payment method.
The endpoint requires the administrative API permission: Ecommerce Refund Without Reference.
See Also:
To reverse a transaction, see POST /pay-api/v1/transactions/return.
To create a transaction, see POST /pay-api/v1/transactions/sale.
To retrieve a transaction by ID, see GET /pay-api/v1/transactions/{transactionId}.
Specifies the card data source.
Valid values are:
| Value | Name | Description |
|---|---|---|
| 1 | Internet | Virtual Terminal, ISV API |
| 2 | Swipe | Track1, Track2 |
| 3 | NFC | EMV Tags, Track2 |
| 4 | EMV | EMV Tags |
| 5 | EMVContactless | EMV Tags |
| 6 | FallbackSwipe | Track 2 |
| 7 | Manual | Card present keyed transaction |
Example: 2
Specifies the Flute currency identifier.
The valid value is:
| Value | Meaning |
|---|---|
| 1 | USD |
Example: 1
Specifies the card as a debit card.
If true, the card as a debit card.
If false, the card as a credit card.
Example: true
Specifies the identifier assigned to the payment processor.
A list of available payment processers can be found with GET {{baseURL}}/pay-api/v1/configurations/payments. See response availablePaymentProcessors.id.
Example: 0c16d6e5-6157-42f0-a285-d14abbc54faa
Specifies the customer identifier.
This is used when saving the payment method.
If this value is provided, the payment method is saved to the specified customer.
If this value is not provided, a new customer record is created.
Example: fd9198a4-eb6f-4620-9603-4f4638289de5
The amount of the transaction (in USD).
Example: 25.99 (for $25.99)
The 13-19 digit card number used for the transaction.
This field may contain a token issued against a card number. This is de-tokenized by TransIT to process the transaction.
Example: 5413591081013511
The three or four digit security code on the credit card.
Example: 346
Specifies the expiration month of the card.
Example: 7
Specifies the expiration year of the card.
Example: 2032
Specifies text for the magnetic track 1.
Example: %B4111111111111111^CHEN/MAYA^3012201000000000000000123000000?
Specifies text for the magnetic track 2.
Example: ;4111111111111111=30122010000000000123?
Indicates the version number of the EMV payment application (tag 9F09).
This value is a 2-byte hexadecimal string.
Example: 0096
Specifies the encrypted PIN block captured by the terminal.
This value is an ISO 9564 PIN block encrypted with AES DUKPT. It is a 16-character hexadecimal string. The value is null when no PIN was entered.
Never plain PINs. The application should never show or ask for a PIN in plain text. PCI rules require the encrypted PIN block must not be stored after authorization.
Example: 8F3A1C9D2B7E4F60
Specifies the key serial number (KSN) for the encrypted PIN block.
The processor uses this value to derive the key that decrypts encryptedPin. It is a 20-character hexadecimal string. The value is null when no PIN was entered.
This value is not a secret. The KSN can be sent with the request. It’s only useful together with the base key, which stays in the processor’s secure hardware.
Example: FFFF9876543210E00001
Specifies the EMV fallback condition.
Valid values are:
| Value | Name | Description |
|---|---|---|
| 0 | ICCTerminalError | The chip could not be read because of a chip or terminal error. The card was swiped instead. |
| 1 | NoCandidateList | The chip and the terminal have no payment application in common. The card was swiped instead. |
Example: 1
Specifies the result of the last EMV chip read.
Valid values are:
| Value | Name |
|---|---|
| 0 | Successful |
| 1 | Failed |
| 2 | NotAChipTransaction |
| 3 | Unknown |
Example: 1
Specifies a reference identifier provided by the merchant.
This value links the transaction to a record in the merchant's own system, such as an order or invoice number. It is returned unchanged in the transaction response. Flute does not require it to be unique.
Example: ORDER-10527
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-api/v1/transactions/return/no-reference
- Sandbox environmenthttps://sandbox.api.flute.com/pay-api/v1/transactions/return/no-reference
- Production environmenthttps://api.flute.com/pay-api/v1/transactions/return/no-reference
Returns $42.18 to a card with no original transaction. The card number is entered online, so cardDataSource is 1 (Internet).
POST /pay-api/v1/transactions/return/no-reference HTTP/1.1
Host: sandbox.api.flute.com
Authorization: Bearer <YOUR_JWT_HERE>
Accept: application/json
Content-Type: application/json
{
"paymentProcessorId": "64aa4643-2c62-45fa-9554-3a69833114e9",
"amount": 42.18,
"currencyId": 1,
"accountNumber": "4111111111111111",
"securityCode": "123",
"expirationMonth": 12,
"expirationYear": 2030,
"cardDataSource": 1,
"billingAddress": {
"line1": "7429 Desert Mirage Lane",
"line2": "Suite 7",
"city": "Phoenix",
"stateName": "Arizona",
"stateId": 4,
"postalCode": "85099",
"countryId": 1
},
"contactInfo": {
"companyName": "Peppared Street Cafe",
"firstName": "Greg",
"lastName": "Black",
"email": "greg.black@example.com",
"mobilePhoneNumber": "+14155558787",
"smsNotification": false
},
"debit": false,
"referenceId": "RMA-20261020-0103"
}OK
Identifies the transaction identifier.
Example: c7c15dd0-03e7-4e55-917c-54bedafba5e7
Specifies the date and time (in an ISO 8601 date-time UTC format) of the transaction execution.
Examples: 2026-02-19T20:24:52.934Z
Indicates the transaction type identifier.
The value depends on the endpoint.
Valid values are:
| Id | Type | Description |
|---|---|---|
| 1 | Authorization | Holds funds on the card. The funds move only after a capture. |
| 2 | Sale | Authorizes and captures the funds in one request. |
| 7 | RefundWORef | Returns funds to a card without a reference to an original transaction. |
Example: 1
Indicates the transaction type name.
The name matches the typeId value.
Valid values are:
| Type | Id | Description |
|---|---|---|
| Authorization | 1 | Holds funds on the card. The funds move only after a capture. |
| Sale | 2 | Authorizes and captures the funds in one request. |
| RefundWORef | 7 | Returns funds to a card without a reference to an original transaction. |
Example: Authorization
Indicates the status identifier of the transaction.
Valid values are:
| Id | Status | Description |
|---|---|---|
| 1 | Authorized | The full amount is approved and held. It can be captured or voided. |
| 2 | Captured | The sale or return is approved. It is included in the next settlement batch. |
| 7 | PartiallyAuthorized | Only part of the amount is approved. processedAmount holds the approved amount. |
| 91 | Declined | The issuer denied the transaction. No funds move. |
| 92 | Failed | The transaction failed because of a processing error. No funds move. |
Example: 1
Indicates the status name of the transaction.
The name matches the statusId value.
Valid values are:
| Status | Id | Description |
|---|---|---|
| Authorized | 1 | The full amount is approved and held. It can be captured or voided. |
| Captured | 2 | The sale or return is approved. It is included in the next settlement batch. |
| PartiallyAuthorized | 7 | Only part of the amount is approved. processedAmount holds the approved amount. |
| Declined | 91 | The issuer denied the transaction. No funds move. |
| Failed | 92 | The transaction failed because of a processing error. No funds move. |
Example: Authorized
Indicates an object describing the transaction receipt. The transaction receipt will be null or empty before the transaction is completed. After the completed transaction, it will be filled out.
Indicates which amount is authorized. The amount may differ from the amount in the request.
Returns $42.18 to a Visa card keyed online.
The refund is approved, so status is Captured.
The address check passed, so avsResponse is populated.
{ "transactionId": "0f6b2d71-8c3e-4a95-b1d7-5e9a2c4f8b10", "transactionDateTime": "2026-10-20T14:12:07.5132846Z", "typeId": 7, "type": "RefundWORef", "statusId": 2, "status": "Captured", "details": { "hostResponseCode": "00", "hostResponseMessage": "APPROVAL", "hostResponseDefinition": "Approved and completed", "code": "Approve", "message": "Success", "processorResponseCode": "00", "authCode": "R41827", "maskedPan": "411111******1111" }, "transactionReceipt": { "transactionId": "0f6b2d71-8c3e-4a95-b1d7-5e9a2c4f8b10", "transactionDateTime": "2026-10-20T14:12:07.5132846Z", "amount": { "baseAmount": 42.18, "percentageOffAmount": 0, "percentageOffRate": 0, "cashDiscountAmount": 0, "cashDiscountRate": 0, "surchargeAmount": 0, "surchargeRate": 0, "tipAmount": 0, "tipRate": 0, "totalAmount": 42.18 }, "currencyId": 1, "currency": "USD", "processorId": "64aa4643-2c62-45fa-9554-3a69833114e9", "processor": "Primary card processor", "operationTypeId": 1, "operationType": "PayNow", "paymentMethodTypeId": 1, "paymentMethodType": "Card", "transactionTypeId": 7, "transactionType": "RefundWORef", "customerId": null, "customerPan": "411111******1111", "cardTokenType": 1, "statusId": 2, "status": "Captured", "merchantName": "Peppared Street Cafe", "merchantAddress": "7429 Desert Mirage Lane, Suite 7, Phoenix, AZ 85099", "merchantPhoneNumber": "+14155558787", "merchantEmailAddress": "billing@pepparedstreetcafe.example.com", "merchantWebsite": "https://pepparedstreetcafe.example.com", "authCode": "R41827", "source": { "typeId": 2, "type": "ApiToken", "id": "3c1f7a92-5d4e-4b8a-9f06-2e7d1b4c8a53", "name": "Store checkout API" }, "cardholderAuthenticationMethodId": 0, "cardholderAuthenticationMethod": "NotAuthenticated", "cvmResultMsg": null, "cardDataSourceId": 1, "cardDataSource": "Internet", "responseCode": "00", "responseDescription": "Approved and completed", "cardProcessingDetails": { "authCode": "R41827", "mid": "887000003193", "tid": "75021674", "cardCreditDebitTypeId": 1, "cardCreditDebitType": "Credit", "processCreditDebitTypeId": 1, "processCreditDebitType": "Credit", "rrn": "629314801127", "cardTypeId": 1, "cardType": "Visa" }, "achProcessingDetails": null, "availableOperations": [ { "typeId": 4, "type": "Void", "availableAmount": 42.18, "suggestedTips": null } ], "avsResponse": { "actionId": 1, "action": "Allow", "responseCode": "Y", "groupId": 5, "group": "ValidGroup", "resultId": 1, "result": "Passed", "codeDescription": "The street address and ZIP Code match the information on file." }, "emvTags": null, "orderNumber": "RMA-20261020-0103" }, "processedAmount": 42.18, "avsResponse": { "actionId": 1, "action": "Allow", "responseCode": "Y", "groupId": 5, "group": "ValidGroup", "resultId": 1, "result": "Passed", "codeDescription": "The street address and ZIP Code match the information on file." } }