# 6.3 CRS Payment
Post a payment transaction on the reservation identified by the provided CRS confirmation number. The provided transaction data can be posted to several different reservations. For each reservation the transaction amount must be provided and the folio number to post to can optionally be specified.
POST /hotels/api/v1/business/{businessId}/reservations/crsPayment
Request params
Name | Located at | Description | required | Format |
---|---|---|---|---|
businessId | URL | The Shiji business ID | YES | String |
secretKey | Header | The secret key provided by Shiji | YES | String |
transactionId | Body | The payment transaction identifier | YES | String |
cardType | Body | The credit card type used in the specified transaction | NO | String (VI/MC/AX/DS/DC) |
lastFourDigits | Body | The last four digits of the credit card number | NO | String |
expirationDate | Body | The expiration date of the credit card | NO | String (YYYY-MM) |
reservations | Body | The reservations to update | YES | Collection of Reservation objects |
# Reservation Object
Name | Located at | Description | required | Format |
---|---|---|---|---|
crsConfirmationNumber | Raw JSON | The CRS confirmation number | YES | String |
amount | Raw JSON | The amount that was charged | YES | Numeric |
folioNumber | Raw JSON | The folio number to post the transaction on | NO | Numeric |
Request example
{
"transactionId": "948694-xxx",
"cardType": "AX",
"lastFourDigits": "1111",
"expirationDate": "2023-10",
"reservations": [
{
"crsConfirmationNumber": "58844XX35",
"amount": 50
},
{
"crsConfirmationNumber": "58844XX36",
"amount": 25
},
]
}
Response example
{
"status": {
"58844XX35": "SUCCESS",
"58844XX36": "PENDING"
}
}