Schedule a charge

REQUEST_PATH : Payment/v1/Schedule

Parameter

Type

Required

Description

reference

String

Yes

Unique Reference that identifies a booking in PMS

amount

Float

Yes

Transaction Amount

time

String

Yes

Schedule Time in format ISO 8601 format (2024-12-02T15:30:00+08:00)

isVirtualCard

Boolean

No

Enabling this will turn off credit card fee for the transaction (Optional)

descriptionStringNoDescription of charge (Optional)
transactionTypeEnumNoType of transaction - Deposit, Balance, Bond or Manual
tokenStringNoIf not provided, will try to use token attached to the booking reference (Optional)

Request Data

{
    reference: '123456789',
    amount: 123.12,
	time: 2025-01-01T12:00:00+08:00,
	isVirtualCard: false,
    description: 'Deposit'
}

Response Data

{
	"success": true,
	"transaction": {
		"id": 4914,
		"amount": 258.76,
		"creditCardFee": 7.76,
		"transationFee": 0,
		"bookingReference": "123456789",
		"type": "PaymentManual",
		"timeStamp": "2024-12-17T17:10:54+08:00",
		"status": "Pending",
		"scheduledTime": "2025-01-01T12:00:00+08:00",
		"cardDetails": {
			"cardNumber": "1111",
			"cardType": "visa",
			"currency": "AUD",
			"token": "03b0725121e9c3690a5fa9ce3c778dd6"
		}
	}
}