# AuthorisationReferral request

When you process MOTO transactions, you may need to handle transactions with a resulting Declined status and a corresponding Referral reason.

If the shopper contacted their issuing bank and you have the authorisation code for the transaction, you can submit it in a batch file to update the transaction in the Adyen payments platform.

When we receive and process the batch file, we book a new Authorised journal entry for the transaction and then proceed with the standard workflow.

## Mandatory sub-lines

The PaymentDetails and AuthoriseReferral sub-lines described below are mandatory when submitting a bank transfer authorisation request.

### PaymentDetails

This sub-line specifies transaction amount and customer details.

Optional fields: if you do not populate one or more non-mandatory fields and leave them blank, you need in any case to insert delimiting commas because the Adyen payments platform expects a preset, fixed number of fields per line/sub-line.
Field #FormatRequiredDescription
1Fixed value: SLRecord type identifier
2NumericSL sub-line record number reference within its parent line.The counter starts at 1, and it increments sequentially by one unit.
3Fixed value: PaymentDetailsTransaction type.
Defines the required field types for the specific sub-line.
4NumericAmount.
5NumericThe currency exponent.
6AlphabeticThe three-character ISO currency code.
7AlphanumericA shopper's reference, which is the unique identifier for a shopper.
Required element for recurring payments and to create recurring contracts.
9AlphanumericShopper statement.
The soft descriptor for the transaction.
10IP addressThe IP address the shopper used to carry out the transaction.
11NumericFraud offset.
The value to be applied to offset the calculated risk score.
It can be either a positive or a negative value.

### AuthoriseReferral

Field #FormatRequiredDescription
1Fixed value: SLRecord type identifier
2NumericSL sub-line record number reference within its parent line.
The counter starts at 1, and it increments sequentially by one unit.
3Fixed value: AuthoriseReferralTransaction type.
Defines the required field types for the specific sub-line.
4AlphanumericThe original payment PSP reference.
5AlphanumericThe authorisation code for the transaction (authCode).
FH,1.0,TEST,Company,TestCompany,Default,2,ws@Company.TestCompany,Modification,FileHeaderEchoData
FT,1