Generate a URL for the Push User Widget or Apple Pay SDK. If type is omitted, generates a widget URL. If type is apple_pay, generates a URL for use with the SDK’s ApplePay launcher.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The identifier for the user
"user_28CJjV7P4Go5PNJvfzghiD"
Direction of the payment.
cash_in for depositscash_out for withdrawalscash_in, cash_out Set to apple_pay to generate a URL for use with the SDK's ApplePay launcher. If omitted, generates a widget URL.
apple_pay URL created successfully
A widget URL or Apple Pay URL, depending on the type parameter.