ACTA:ApproveByCreditCard

From 3dbrew
Revision as of 22:12, 23 January 2025 by TimmSkiller (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

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[edit]

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

Description[edit]

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.

CreditCardInfo[edit]

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