ACTA:ApproveByCreditCard

Revision as of 22:11, 23 January 2025 by TimmSkiller (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0428|1|4}} {{IPC/RequestEntry|u8, Account slot}} {{IPC/CopyHandle|1}} {{IPC/CopyHandleEntry|Completion event handle}} {{IPC/Tra...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Request

Index Word Description
0
Header 0x04280044 Cmd 0x0428 Param 1 Xlat 4
1 u8, Account slot
2 Descriptor for copying 1 handle
3 Completion event handle
4 Descriptor for static buffer (id 0)
5 CreditCardInfo

Response

Index Word Description
0
Header 0x04290040 Cmd 0x0429 Param 1 Xlat 0
1 Result code

CreditCardInfo

Offset Size Description
0x0 0x1 u8, CardType
0x1 0x10 + 1 NULL-terminated 16-character ASCII CardNumber
0x12 0x3 + 1 NULL-terminated 3-character ASCII SecurityCode
0x16 0x1 u8, ExpirationMonth
0x17 0x1 u8, ExpirationYear
0x18 0x7 NULL-terminated 6-character ASCII PostalCode
0x1F 0x100 + 0x1 NULL-terminated 256-character ASCII Email

Description

Requests COPPA parental consent using the given credit card information. The account slot must be 0xFE. Therefore, this command can only be used with the currently loaded account.